This commit is contained in:
tze089 2024-01-16 13:20:23 +01:00
commit e3270115a4
2 changed files with 2 additions and 2 deletions

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=nb_switch.name,
name=switch_interface,
)
if nb_switch_interface is None: