aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHåkon Solbjørg <hakon@solbj.org>2023-04-05 18:01:01 +0200
committerHåkon Solbjørg <hakon@solbj.org>2023-04-05 18:01:01 +0200
commit3e81ebe7e8688a25645f67a713845b6bae744bd4 (patch)
tree42be77223382aa0fce5130c6b2aea6a57742806b /tools
parentdd8b7a1347848d0510030c13563a5c5a209a3e0c (diff)
fix(netbox2gondul): Ship VLAN tags to VLAN
Diffstat (limited to 'tools')
-rw-r--r--tools/netbox/scripts/netbox2gondul/netbox2gondul.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
index 2a08268..5fb4ad8 100644
--- a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
+++ b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
@@ -134,6 +134,7 @@ class Netbox2Gondul(Script):
"gw6": gw6,
"router": router,
"vlan": vlan.vid,
+ "tags": [tag.slug for tag in list(vlan.tags.all())],
}
def switches_to_gondul(self, switches):