From f99294935b2d487afc4c3abebc4e423ddd46f071 Mon Sep 17 00:00:00 2001 From: Sjur Fredriksen Date: Tue, 25 Mar 2025 21:35:27 +0100 Subject: fix: vid on mgmt iface --- 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 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, -- cgit v1.2.3