There was a typo, additional quotes, and the condition check was always false therefore the virtual devices were not detached after config_only run.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/NetTestController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index 2453042..7324a7c 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -519,7 +519,7 @@ class NetTestController: break rpc_con.close()
- if "libvirt_dom" in "machine": + if "libvirt_dom" in machine: libvirt_dom = machine["libvirt_dom"] domain_ctl = VirtDomainCtl(libvirt_dom) logging.info("Detaching dynamically created interfaces.")
lnst-developers@lists.fedorahosted.org