aboutsummaryrefslogtreecommitdiff
path: root/rhumba.py
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2017-02-07 12:08:18 +0100
committerVincenzo Maffione <v.maffione@gmail.com>2017-02-07 12:20:51 +0100
commit54a12620aadfac69f528cdcce37592b4e35e12cf (patch)
treee4e71fbdc28527a39f1fdf0c4908bfea1b43f379 /rhumba.py
parent0700292bbee309aab483692e98857018840f86ac (diff)
downloadrumba-54a12620aadfac69f528cdcce37592b4e35e12cf.tar.gz
rumba-54a12620aadfac69f528cdcce37592b4e35e12cf.zip
move EmulabTestbed to its own file
Diffstat (limited to 'rhumba.py')
-rwxr-xr-xrhumba.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/rhumba.py b/rhumba.py
index 1ffd092..c338bf8 100755
--- a/rhumba.py
+++ b/rhumba.py
@@ -19,7 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA
-import emulab_support as es
import jfed_support as js
import abc
import getpass
@@ -43,26 +42,6 @@ class Testbed:
raise Exception('create_experiment() not implemented')
-# Represents an emulab testbed info
-#
-# @url [string] URL of the testbed
-# @image [string] specific image to use
-#
-class EmulabTestbed:
- def __init__(self, exp_name, username, password = "",
- proj_name = "ARCFIRE", url = "wall1.ilabt.iminds.be",
- image = "UBUNTU14-64-STD"):
- Testbed.__init__(self, exp_name, username, password, proj_name)
- self.url = url
- self.image = image
-
- def create_experiment(self, nodes, links):
- es.create_experiment(self, nodes, links)
- es.swap_exp_in(self)
- es.wait_until_nodes_up(self)
- es.complete_experiment_graph(self, nodes, links)
-
-
class jFedTestbed:
def __init__(self, exp_name, username, cert_file, jfed_jar, exp_hours = "2",
proj_name = "ARCFIRE", authority = "wall2.ilabt.iminds.be"):