Test error handling for itf creation.

This commit is contained in:
Pierre Lannoy 2025-08-18 18:29:40 +02:00
commit b71db1af19

View file

@ -291,6 +291,7 @@ class Network(object):
name=nic['name'], mac=nic['mac'], device=self.device.name name=nic['name'], mac=nic['mac'], device=self.device.name
) )
) )
nic['vlan'] = None
if nic['vlan']: if nic['vlan']: