aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/netbox/scripts/netbox2gondul/netbox2gondul.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
index 99f3baa..64d57d9 100644
--- a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
+++ b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py
@@ -18,6 +18,7 @@ from requests.models import HTTPBasicAuth
FLOOR = Site.objects.get(slug="floor")
RING = Site.objects.get(slug="ring")
+WIFI = Site.objects.get(slug="hele-skpet")
WIFI_TRAFFIC_VLAN = VLAN.objects.get(name="wifi-clients-ssid-the-gathering.floor.r1.tele")
class GondulConfigError(Exception):
@@ -214,7 +215,7 @@ class Netbox2Gondul(Script):
if len(input_devices) == 0:
input_devices = Device.objects.filter(
- Q(site=FLOOR) | Q(site=RING)
+ Q(site=FLOOR) | Q(site=RING) | Q(site=WIFI)
).filter(
status=DeviceStatusChoices.STATUS_ACTIVE,
)