diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-06-08 22:04:23 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-06-08 22:04:23 +0200 |
commit | 237bae93f53d69c9574d9105121d5a5db80a2045 (patch) | |
tree | 9aa1187ab9c341a5e53e2b4c56e912ec53b888e0 /rumba | |
parent | db18f01116739a2854c4305a7ad72da8c56d446d (diff) | |
parent | 4dced04d238234c98a7c8221c1a7c9cfb84bf88b (diff) | |
download | rumba-237bae93f53d69c9574d9105121d5a5db80a2045.tar.gz rumba-237bae93f53d69c9574d9105121d5a5db80a2045.zip |
Merge branch 'access'
Diffstat (limited to 'rumba')
-rw-r--r-- | rumba/model.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rumba/model.py b/rumba/model.py index 941cba8..d1b9988 100644 --- a/rumba/model.py +++ b/rumba/model.py @@ -523,8 +523,11 @@ class Experiment: def dump_ssh_info(self): f = open('ssh_info', 'w') for node in self.nodes: - f.write("%s %s %s %s\n" % (node.name, self.testbed.username, - node.ssh_config.hostname, node.ssh_config.port)) + f.write("%s;%s;%s;%s;%s\n" % (node.name, + self.testbed.username, + node.ssh_config.hostname, + node.ssh_config.port, + node.ssh_config.proxycommand)) f.close() # Examine the nodes and DIFs, compute the registration and enrollment @@ -642,7 +645,7 @@ class Server: def get_new_clients(self, interval): """ Returns a list of clients of size appropriate to the server's rate. - + The list's size should be a sample from Poisson(arrival_rate) over interval seconds. Hence, the average size should be interval * arrival_rate. |