From 3a586200b6ee25561f41c4acc90a6d5af90003c8 Mon Sep 17 00:00:00 2001 From: Sjur Fredriksen Date: Tue, 25 Mar 2025 21:37:19 +0100 Subject: fix: vlan interface should be access on vid --- tools/netbox/scripts/create-switch/create-switch-tg25.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), -- cgit v1.2.3