Virtual Machine feature #122

Merged
Solvik merged 13 commits from vm into master 2020-04-19 12:28:49 +02:00
Showing only changes of commit 4ee9325c7e - Show all commits

View file

@ -359,6 +359,7 @@ class Network(object):
nic.delete() nic.delete()
# delete IP on netbox that are not known on this server # delete IP on netbox that are not known on this server
if len(nb_nics):
netbox_ips = nb.ipam.ip_addresses.filter( netbox_ips = nb.ipam.ip_addresses.filter(
interface_id=[x.id for x in nb_nics], interface_id=[x.id for x in nb_nics],
) )