Change-Id: Id589ab96fad5a4c1af876e03a0f27586b2af7695
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
#TODO.Revise self.server_forceoff(True)
iface = conn.interfaceLookupByMACString(mac)
#TODO.Revise self.server_forceoff(True)
iface = conn.interfaceLookupByMACString(mac)
+ if iface.isActive():
+ iface.destroy()
iface.create()
self.logger.debug("restore_iface '%s' %s", name, mac)
except host_thread.lvirt_module.libvirtError as e:
iface.create()
self.logger.debug("restore_iface '%s' %s", name, mac)
except host_thread.lvirt_module.libvirtError as e: