diff options
author | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2025-03-25 21:37:19 +0100 |
---|---|---|
committer | Sjur Fredriksen <sjurtf@ifi.uio.no> | 2025-03-25 21:37:19 +0100 |
commit | 3a586200b6ee25561f41c4acc90a6d5af90003c8 (patch) | |
tree | e184da592cfcf6314c9841601ae108be02fd73c4 /tools/netbox/scripts/create-switch | |
parent | 31362fce46b010e73e8e6ebbf7b046ba03323543 (diff) |
fix: vlan interface should be access on vid
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 2d3b457..9315f4a 100644 --- a/tools/netbox/scripts/create-switch/create-switch-tg25.py +++ b/tools/netbox/scripts/create-switch/create-switch-tg25.py @@ -331,7 +331,7 @@ class CreateSwitch(Script): description=f'X: Mgmt', type=InterfaceTypeChoices.TYPE_VIRTUAL, mode=InterfaceModeChoices.MODE_ACCESS, - vid=FABRIC_V4_JUNIPER_MGMT_PREFIX.vlan.vid, + untagged_vlans=FABRIC_V4_JUNIPER_MGMT_PREFIX.vlan.vid, ) v4_mgmt_addr = IPAddress.objects.create( address=FABRIC_V4_JUNIPER_MGMT_PREFIX.get_first_available_ip(), |