vlangroup in api #7518
Replies: 1 comment 3 replies
-
Sidestepping your question: do you want to migrate the entire contents of the old netbox environment? If so it would be far quicker and easier just to replicate the database and then run Regarding the specific question: firstly, please can you edit your post, and add three backticks ( Your code seems to show you wanting to associate a prefix with a vlan (in which case, you'll need to create the vlan object in your database first). But your question asked about associating vlans with vlangroups. So I'm afraid the two don't join up for me. Also with vlans, you need to be very careful of the distinction between |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, forgive my bad coding, but i'm trying to migrate prefixes from an old netbox environment to a new netbox environement with the pynetbox api, feeling a bit lost on how to get the vlan into the right vlan group, does anyone have some pointers on this? I have multiple VRFs, VLAN Groups with overlapping VLAN's.
My code below:
Beta Was this translation helpful? Give feedback.
All reactions