diff options
Diffstat (limited to 'examples/insane-stacking.py')
-rw-r--r-- | examples/insane-stacking.py | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/examples/insane-stacking.py b/examples/insane-stacking.py deleted file mode 100644 index 4a2f4e3..0000000 --- a/examples/insane-stacking.py +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env/python - -from rumba.model import * - -# import testbed plugins -import rumba.testbeds.emulab as emulab -import rumba.testbeds.jfed as jfed -import rumba.testbeds.faketestbed as fake -import rumba.testbeds.qemu as qemu - -# import prototype plugins -import rumba.prototypes.ouroboros as our -import rumba.prototypes.rlite as rl -import rumba.prototypes.irati as irati - -shim300 = ShimEthDIF("shim300", link_speed=0)) - -n1 = NormalDIF("n1") -n2 = NormalDIF("n2") -n3 = NormalDIF("n3") -n5 = NormalDIF("n5") -n7 = NormalDIF("n7") -n4 = NormalDIF("n4") -n6 = NormalDIF("n6") - -a = Node("a", - difs=[300, n1, n2, n3, n4, n5, n6, n7], - dif_registrations={n1: [300], n2: [n1], n3: [n2], n5: [n4], n7: [n6], n4: [n3], n6: [n5]}) - -b = Node("b", - difs=[300, n1, n2, n3, n4, n5, n6, n7], - dif_registrations={n1: [300], n2: [n1], n3: [n2], n5: [n4], n7: [n6], n4: [n3], n6: [n5]}) - -tb = qemu.Testbed(exp_name = "insane-stacking", - bzimage = "/home/mcapitani/RINA/checkouts/rlite/demo/buildroot/bzImage", - initramfs = "/home/mcapitani/RINA/checkouts/rlite/demo/buildroot/rootfs.cpio") - -exp = rl.Experiment(tb, nodes = [a, b, c, d]) - -print(exp) - -exp.run() |