From c44547e071c1f5721b32434489208db80e5dc775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Solbj=C3=B8rg?= Date: Fri, 7 Apr 2023 02:18:20 +0200 Subject: fix(netbox2gondul): Import devices w/o v6 mgmt (APs) --- tools/netbox/scripts/netbox2gondul/netbox2gondul.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/netbox/scripts/netbox2gondul/netbox2gondul.py') diff --git a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py index 01f81b9..35ae073 100644 --- a/tools/netbox/scripts/netbox2gondul/netbox2gondul.py +++ b/tools/netbox/scripts/netbox2gondul/netbox2gondul.py @@ -248,8 +248,7 @@ class Netbox2Gondul(Script): prefix_v6 = Prefix.objects.get(NetHostContained(F('prefix'), str(device.primary_ip6))) vlan = prefix_v6.vlan else: - self.log_warning(f'Device {device.name} is missing global primary IPv6 address. Skipping.') - continue + self.log_warning(f'Device {device.name} is missing global primary IPv6 address.') if not vlan: self.log_warning(f"Skipping {device}: missing vlan") -- cgit v1.2.3