aboutsummaryrefslogtreecommitdiffstats
path: root/tools/netbox/scripts/create-switch/create-switch-tg25.py
diff options
context:
space:
mode:
authorSjur Fredriksen <sjurtf@ifi.uio.no>2025-03-25 21:37:19 +0100
committerSjur Fredriksen <sjurtf@ifi.uio.no>2025-03-25 21:37:19 +0100
commit3a586200b6ee25561f41c4acc90a6d5af90003c8 (patch)
treee184da592cfcf6314c9841601ae108be02fd73c4 /tools/netbox/scripts/create-switch/create-switch-tg25.py
parent31362fce46b010e73e8e6ebbf7b046ba03323543 (diff)
fix: vlan interface should be access on vid
Diffstat (limited to 'tools/netbox/scripts/create-switch/create-switch-tg25.py')
-rw-r--r--tools/netbox/scripts/create-switch/create-switch-tg25.py2
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(),