Skip to content
Snippets Groups Projects

Feature/update input form validation

Closed Karel van Klink requested to merge feature/update-input-form-validation into develop
All threads resolved!
4 files
+ 10
18
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -13,20 +13,15 @@ class RouterVendor(strEnum):
"""Enumerator for the different product vendors that are supported."""
JUNIPER = "juniper"
"""Juniper routers."""
NOKIA = "nokia"
"""Nokia routers."""
class RouterRole(strEnum):
"""Enumerator for the different types of routers."""
P = "p"
"""P router."""
PE = "pe"
"""PE router."""
AMT = "amt"
"""AMT router."""
class PortNumber(ConstrainedInt):
@@ -36,9 +31,7 @@ class PortNumber(ConstrainedInt):
"""
gt = 0
"""The lower bound of the valid port number range."""
le = 49151
"""As mentioned earlier, the ephemeral port range should not be chosen, and is therefore not available."""
class RouterBlockInactive(
Loading