aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2018-01-09 11:55:29 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-01-09 11:55:29 +0100
commit7113b25ef4286234c5f47ae247d2ce1571fecdf8 (patch)
tree9efe738066231113170a10b77bc0e1d2fa09a838 /rumba/testbeds
parentd6159432e8fc333a2466b8836ba34db55ed3bb82 (diff)
downloadrumba-7113b25ef4286234c5f47ae247d2ce1571fecdf8.tar.gz
rumba-7113b25ef4286234c5f47ae247d2ce1571fecdf8.zip
testbeds: Fix bad parsing in emulab plugin
Due to either a change in the SSH module or in the emulab interface, the list of interfaces was not parsed correctly, this fixes that.
Diffstat (limited to 'rumba/testbeds')
-rw-r--r--rumba/testbeds/emulab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py
index 5051dfc..4f8b023 100644
--- a/rumba/testbeds/emulab.py
+++ b/rumba/testbeds/emulab.py
@@ -259,7 +259,7 @@ class Testbed(mod.Testbed):
for node in experiment.nodes:
cmd = 'cat /var/emulab/boot/ifmap'
output = ssh.execute_command(self, node.ssh_config, cmd)
- output = re.split('\\\\n', output)
+ output = re.split('\n', output)
for item in output:
item = item.split()
for ipcp in node.ipcps: