From 22db738a842f8e21bb49f6431bd671d37073f832 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Wed, 12 Apr 2017 15:21:21 +0200 Subject: Rumba tester v2: all-in-one testing tool Deep reworking of the testing tool, it can be provided with a (demo-like) .conf file, a testbed and a prototype, and it auto-runs the experiment. Removed generated testing scripts. --- examples/star.py | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 examples/star.py (limited to 'examples/star.py') diff --git a/examples/star.py b/examples/star.py deleted file mode 100644 index c00aab7..0000000 --- a/examples/star.py +++ /dev/null @@ -1,40 +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") - -a = Node("a", - difs=[300, n1], - dif_registrations={n1: [300]}) - -b = Node("b", - difs=[300, n1], - dif_registrations={n1: [300]}) - -c = Node("c", - difs=[300, n1], - dif_registrations={n1: [300]}) - -tb = qemu.Testbed(exp_name = "star", - 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() -- cgit v1.2.3