From 7113b25ef4286234c5f47ae247d2ce1571fecdf8 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 9 Jan 2018 11:55:29 +0100 Subject: 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. --- rumba/testbeds/emulab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3