aboutsummaryrefslogtreecommitdiff
path: root/examples/example.py
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-02-13 15:00:07 +0100
committerSander Vrijders <[email protected]>2017-02-13 15:00:07 +0100
commit59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0 (patch)
tree2f03681bc8a655c2a05f2ed1a52accc1b788d1d4 /examples/example.py
parent78217ab203ca247ae8dea1cd673c3174953ef4ae (diff)
downloadrumba-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/example.py')
-rwxr-xr-xexamples/example.py11
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)