updated pynetbox to 7.2, fixed network.py, based on https://github.com/Solvik/netbox-agent/pull/277#issuecomment-1794355867
This commit is contained in:
parent
15a36ff58c
commit
e3270115a4
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue