Virtual Machine feature #122
1 changed files with 13 additions and 12 deletions
|
@ -359,6 +359,7 @@ class Network(object):
|
|||
nic.delete()
|
||||
|
||||
# delete IP on netbox that are not known on this server
|
||||
if len(nb_nics):
|
||||
netbox_ips = nb.ipam.ip_addresses.filter(
|
||||
interface_id=[x.id for x in nb_nics],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue