diff options
author | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2025-03-25 21:35:27 +0100 |
---|---|---|
committer | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2025-03-25 21:35:27 +0100 |
commit | f99294935b2d487afc4c3abebc4e423ddd46f071 (patch) | |
tree | 810747bafb01ae24890e6fb53e468d92d7948cf7 /tools/netbox/scripts/create-switch | |
parent | 9c9f0750559ce2dcb904ea36ec87d94c661be2e2 (diff) |
fix: vid on mgmt iface
Diffstat (limited to 'tools/netbox/scripts/create-switch')
-rw-r--r-- | tools/netbox/scripts/create-switch/create-switch-tg25.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/netbox/scripts/create-switch/create-switch-tg25.py b/tools/netbox/scripts/create-switch/create-switch-tg25.py index cc52ee7..c241571 100644 --- a/tools/netbox/scripts/create-switch/create-switch-tg25.py +++ b/tools/netbox/scripts/create-switch/create-switch-tg25.py @@ -327,7 +327,7 @@ class CreateSwitch(Script): mgmt_vlan_interface = Interface.objects.create( device=switch, - name=f"{mgmt_interface_name}.{FABRIC_V4_JUNIPER_MGMT_PREFIX.vlan.id}", + name=f"{mgmt_interface_name}.{FABRIC_V4_JUNIPER_MGMT_PREFIX.vlan.vid}", description=f'X: Mgmt', type=InterfaceTypeChoices.TYPE_VIRTUAL, mode=InterfaceModeChoices.MODE_TAGGED, |