From: Ondrej Lichtner <olichtne(a)redhat.com>
Previously we only allowed virtual machines without interfaces since
they would later get dynamically created devices. However now we want
testers to be able to connect to slaves even during test execution and
to be able to manipulate nic device mapping manually so this restriction
is now useless..
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/SlavePoolManager.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lnst/Controller/SlavePoolManager.py b/lnst/Controller/SlavePoolManager.py
index eb6ae52..e8ff4a6 100644
--- a/lnst/Controller/SlavePoolManager.py
+++ b/lnst/Controller/SlavePoolManager.py
@@ -262,12 +262,6 @@ class SlavePoolManager(object):
raise PoolManagerError(msg, iface)
machine_spec["interfaces"][if_id] = iface_spec
- else:
- if "libvirt_domain" not in machine_spec["params"]:
- msg = "Machine '%s' has no testing interfaces. " \
- "This setup is supported only for virtual slaves." \
- % m_id
- raise PoolManagerError(msg, machine_xml_data)
machine_spec["security"] = machine_xml_data["security"]
--
2.19.0