Best way to update all virtual chassis interfaces #13897
Unanswered
chrisdonkelaar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently doing a brown field implementation of NetBox, filling it with all the data from the field. At the moment I'm updating all the interface descriptions and running into an issue with updating all the interfaces within our stack members. All devices and virtual chassis are already set up in NetBox, and I'm using Nornir-NetBox to create my inventory file. Then I'm running nornir and netmiko_send_cli with textfsm against all devices with a primary IP to get all interface descriptions. I'm doing the reverse, and update the interface description back into NetBox. The problem I'm running into, is that with the API, the device in a virtual chassis with the primary IP, doesn't hold all interfaces of it's member devices. I can work my way around this by getting the right device_id evaluating all vc-members, correlating device numbering and position in the virtual chassis, but I'm wondering if there's a smarter way of doing this? Since I'm dealing with ~500 devices, I'm trying to stay away of per device manual update files.
Thanks in advance!
BR
Chris
Beta Was this translation helpful? Give feedback.
All reactions