aboutsummaryrefslogtreecommitdiffstats
path: root/tools/koblingsplan/koblingsplan-to-netbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/koblingsplan/koblingsplan-to-netbox.py')
-rw-r--r--tools/koblingsplan/koblingsplan-to-netbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/koblingsplan/koblingsplan-to-netbox.py b/tools/koblingsplan/koblingsplan-to-netbox.py
index 48c1c24..3b3ee52 100644
--- a/tools/koblingsplan/koblingsplan-to-netbox.py
+++ b/tools/koblingsplan/koblingsplan-to-netbox.py
@@ -79,6 +79,8 @@ def get_or_create_cabling(cabling):
cable_type = kobling['cable_type']
if cable_type == 'Singlemode LC':
cable_type = 'smf'
+ else:
+ cable_type = cable_type.lower()
print(f"🔌 Planning cable A<->B: {a['node']} {a['interface']}<->{b['interface']} {b['node']}")