aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/netbox/scripts/create-switch/create-switch-tg25.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/netbox/scripts/create-switch/create-switch-tg25.py b/tools/netbox/scripts/create-switch/create-switch-tg25.py
index 0703b3d..f932bf4 100644
--- a/tools/netbox/scripts/create-switch/create-switch-tg25.py
+++ b/tools/netbox/scripts/create-switch/create-switch-tg25.py
@@ -140,9 +140,6 @@ class CreateSwitch(Script):
)
def run(self, data, commit):
- if not data['switch_name'].startswith("e") and not data['switch_name'].startswith("d"):
- raise ValidationError("Switch name must start whit e or d")
-
switch = self.create_switch(data)
vlan = self.create_vlan(switch)