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:

View file

@ -6,7 +6,7 @@ jsonargparse==4.23.1
netaddr==0.8.0
netifaces2==0.0.18
packaging==23.1
pynetbox==7.0.1
pynetbox==7.2.0
python-slugify==8.0.1
PyYAML==6.0.1
requests==2.31.0