aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds
diff options
context:
space:
mode:
Diffstat (limited to 'rumba/testbeds')
-rw-r--r--rumba/testbeds/jfed.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/rumba/testbeds/jfed.py b/rumba/testbeds/jfed.py
index 6a5c3de..857a3db 100644
--- a/rumba/testbeds/jfed.py
+++ b/rumba/testbeds/jfed.py
@@ -243,22 +243,13 @@ class Testbed(mod.Testbed):
if node_n is None:
logger.error("Didn't find node %s", n_name)
- hostname = None
if "wall" in self.auth_name:
- hostname = node_n.name + "." + self.exp_name + "." + \
- auth_name_r + "." + self.auth_name
node_n.ssh_config.proxy_server = "bastion.test.iminds.be"
- if "cloudlab" in self.auth_name:
- hostname = node_n.name + "." + self.exp_name + "." + \
- auth_name_r + "." + self.auth_name
+ s_node = xml_node.getElementsByTagName("services")[0]
+ l_node = s_node.getElementsByTagName("login")[0]
- if "exogeni" in self.auth_name:
- s_node = xml_node.getElementsByTagName("services")[0]
- l_node = s_node.getElementsByTagName("login")[0]
- hostname = l_node.getAttribute("hostname")
-
- node_n.ssh_config.hostname = hostname
+ node_n.ssh_config.hostname = l_node.getAttribute("hostname")
for intf in intfs:
aux_mac_address = intf.getAttribute("mac_address")