Netbox integration including intial CLI for populating base data and ...
Compare changes
- Neda Moeini authored
+ 142
− 234
@@ -3,14 +3,15 @@ This module contains all methods
@@ -3,14 +3,15 @@ This module contains all methods
@@ -58,281 +59,188 @@ class Site(pydantic.BaseModel):
@@ -58,281 +59,188 @@ class Site(pydantic.BaseModel):
raise WorkflowStateException(f"The interface: {iface_name} on device: {device_name} is already reserved.")
raise WorkflowStateException(f"The interface: {iface_name} on device: {device_name} is already allocated.")
interface["name"] for interface in nbclient.dcim.interfaces.filter(device_name=device.id, type="lag")