From 59ddcc618e901d14c47a8c1f97bb8589f6a4d5e0 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 13 Feb 2017 15:00:07 +0100 Subject: 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. --- examples/example.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3