Merge pull request #4 from ChessCom/pynetbox72
updated pynetbox to 7.2, fixed network.py
This commit is contained in:
commit
7710b8a60f
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)
|
switch_interface = self.lldp.get_switch_port(nb_server_interface.name)
|
||||||
nb_switch_interface = nb.dcim.interfaces.get(
|
nb_switch_interface = nb.dcim.interfaces.get(
|
||||||
device=nb_switch,
|
device=nb_switch.name,
|
||||||
name=switch_interface,
|
name=switch_interface,
|
||||||
)
|
)
|
||||||
if nb_switch_interface is None:
|
if nb_switch_interface is None:
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ jsonargparse==4.23.1
|
||||||
netaddr==0.8.0
|
netaddr==0.8.0
|
||||||
netifaces2==0.0.18
|
netifaces2==0.0.18
|
||||||
packaging==23.1
|
packaging==23.1
|
||||||
pynetbox==7.0.1
|
pynetbox==7.2.0
|
||||||
python-slugify==8.0.1
|
python-slugify==8.0.1
|
||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue