diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-13 15:00:07 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-13 15:00:07 +0100 |
commit | 59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0 (patch) | |
tree | 2f03681bc8a655c2a05f2ed1a52accc1b788d1d4 /examples | |
parent | 78217ab203ca247ae8dea1cd673c3174953ef4ae (diff) | |
download | rumba-59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0.tar.gz rumba-59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0.zip |
testbeds, prototypes: Omit dir name from class name
The directory name was always prepended to the class name, but since
they are in distinct namespaces this could be easily removed.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/example.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/example.py b/examples/example.py index 4430fb5..2222ee0 100755 --- a/examples/example.py +++ b/examples/example.py @@ -29,13 +29,12 @@ b = Node("b", difs = [e1, n1], dif_registrations = {n1 : [e1]}) -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") +tb = jfed.Testbed(exp_name = "letest", + username = "sander", + cert_file = "cert.pem", + jfed_jar = "jfed_cli/experimenter-cli.jar") -exp = irati.IRATIExperiment(tb, nodes = [a, b]) +exp = irati.Experiment(tb, nodes = [a, b]) print(exp) |