aboutsummaryrefslogtreecommitdiffstats
path: root/tools/netbox
diff options
context:
space:
mode:
Diffstat (limited to 'tools/netbox')
-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 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,