diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-07 15:20:36 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-07 15:20:36 +0000 |
commit | 22b3218c951ebfc0bd2b2bdb89adb59b8a3e5ee7 (patch) | |
tree | 30fe43b4ba73d2f9a095ff5c36bfa2f6173c701d /example.py | |
parent | 46975a115ee68ed742bb01d203dd6ec3d84dfa6b (diff) | |
parent | f0537f022eab056a3f5d6c6fea31274e5d2f06c8 (diff) | |
download | rumba-22b3218c951ebfc0bd2b2bdb89adb59b8a3e5ee7.tar.gz rumba-22b3218c951ebfc0bd2b2bdb89adb59b8a3e5ee7.zip |
Merge branch 'master-vincenzo' into 'master'
Master vincenzo
See merge request !6
Diffstat (limited to 'example.py')
-rwxr-xr-x[-rw-r--r--] | example.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/example.py b/example.py index 6013173..b13f0ce 100644..100755 --- a/example.py +++ b/example.py @@ -3,6 +3,13 @@ # An example script using rhumba.py from rhumba import * + +# import testbed plugins +import rhumba_emulab as emulab +import rhumba_jfed as jfed +import rhumba_faketestbed as fake + +# import prototype plugins import rhumba_ouroboros as our import rhumba_rlite as rl import rhumba_irati as irati @@ -22,12 +29,13 @@ b = Node("b", difs = [e1, n1], dif_registrations = {n1 : [e1]}) -tb = jFedTestbed(exp_name = "letest", - username = "sander", - cert_file = "cert.pem", - jfed_jar = "jfed_cli/experimenter-cli.jar") +tb = jfed.jFedTestbed(exp_name = "letest", + username = "sander", + cert_file = "cert.pem", + jfed_jar = "jfed_cli/experimenter-cli.jar") +#tb = fake.FakeTestbed(exp_name = "x", username = "yy") -exp = IRATIExperiment(tb, nodes = [a, b]) +exp = irati.IRATIExperiment(tb, nodes = [a, b]) print(exp) |