Support Netbox 3 #305

Merged
CllaudiaB merged 8 commits from version into master 2024-10-17 10:37:09 +02:00
Showing only changes of commit e44fd2fe78 - Show all commits

View file

@ -544,7 +544,7 @@ class ServerNetwork(Network):
switch_interface = self.lldp.get_switch_port(nb_server_interface.name)
nb_switch_interface = nb.dcim.interfaces.get(
device=nb_switch,
device_id=nb_switch.id,
name=switch_interface,
)
if nb_switch_interface is None: