aboutsummaryrefslogtreecommitdiff
path: root/rumba/testbeds/emulab.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2017-06-30 12:17:16 +0200
committerMarco Capitani <m.capitani@nextworks.it>2017-06-30 12:17:16 +0200
commit815839bf3cac2fcfd2d25a69395055397d55a8bb (patch)
tree128c5acaf009245b87c982ae7e85041c39afee98 /rumba/testbeds/emulab.py
parent50f0edfca9b552d332d250022e0d8c5fdaa531c7 (diff)
downloadrumba-815839bf3cac2fcfd2d25a69395055397d55a8bb.tar.gz
rumba-815839bf3cac2fcfd2d25a69395055397d55a8bb.zip
ssh & model-storyboard: changed ssh API, added node.execute* methods
Diffstat (limited to 'rumba/testbeds/emulab.py')
-rw-r--r--rumba/testbeds/emulab.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py
index e7458bc..9b90e68 100644
--- a/rumba/testbeds/emulab.py
+++ b/rumba/testbeds/emulab.py
@@ -210,6 +210,8 @@ class Testbed(mod.Testbed):
for node in experiment.nodes:
node.ssh_config.hostname = self.full_name(node.name)
+ node.ssh_config.set_username(self.username)
+ node.ssh_config.set_password(self.password)
cmd = 'cat /var/emulab/boot/topomap'
topomap = ssh.execute_command(self, experiment.nodes[0].ssh_config, cmd)