Test error handling for itf creation.
This commit is contained in:
parent
bc297ea337
commit
93b540f643
1 changed files with 48 additions and 47 deletions
|
|
@ -450,6 +450,7 @@ class Network(object):
|
|||
)
|
||||
interface = self.create_netbox_nic(nic)
|
||||
|
||||
if interface:
|
||||
nic_update = 0
|
||||
if nic['name'] != interface.name:
|
||||
logging.info('Updating interface {interface} name to: {name}'.format(
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue