aboutsummaryrefslogtreecommitdiff
path: root/examples/two-layers.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2017-06-13 10:09:54 +0200
committerMarco Capitani <m.capitani@nextworks.it>2017-06-13 10:09:54 +0200
commit457977f337a47caddf8788e1d4e1d1736f2a6ccb (patch)
tree12fa2a2be0f57be3ea2acd3623b01f55c8de1092 /examples/two-layers.py
parent3081d070cda223afd548645143142e1104b07d83 (diff)
parent53602860e17d650f9ab850cf9a206de6a8712c15 (diff)
downloadrumba-457977f337a47caddf8788e1d4e1d1736f2a6ccb.tar.gz
rumba-457977f337a47caddf8788e1d4e1d1736f2a6ccb.zip
Merge branch 'master' into policies
Diffstat (limited to 'examples/two-layers.py')
-rwxr-xr-xexamples/two-layers.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/examples/two-layers.py b/examples/two-layers.py
index 9d1a6b3..b3622fd 100755
--- a/examples/two-layers.py
+++ b/examples/two-layers.py
@@ -32,9 +32,7 @@ e3 = ShimEthDIF("e3")
a = Node("a",
difs = [n3, n4, n1, e1],
- dif_registrations = {n4: [n1], n3: [n1], n1 : [e1]},
- registrations = {"rinaperf.server" : [n3]},
- bindings = {"rinaperf.server" : "/usr/bin/rinaperf"})
+ dif_registrations = {n4: [n1], n3: [n1], n1 : [e1]})
b = Node("b",
difs = [n1, e1, e2],
@@ -50,11 +48,9 @@ d = Node("d",
tb = qemu.Testbed(exp_name = "twolayers",
username = "root",
- password = "root",
- bzimage = '/home/vmaffione/git/rlite/demo/buildroot/bzImage',
- initramfs = '/home/vmaffione/git/rlite/demo/buildroot/rootfs.cpio')
+ password = "root")
-exp = rl.Experiment(tb, nodes = [a, b, c, d])
+exp = irati.Experiment(tb, nodes = [a, b, c, d])
print(exp)