From b1c002e96c54df211fbc4dfeec188cbf31a56fda Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Sat, 4 Feb 2017 10:33:44 +0100 Subject: rhumba: Revert to old example file The old example file was modified for testing purposes, but should stay as an example for people using Rhumba. This commit also renames it to example.py --- main.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 main.py (limited to 'main.py') diff --git a/main.py b/main.py deleted file mode 100755 index 3200f77..0000000 --- a/main.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python - -# An example script using rhumba.py - -from rhumba import * - -e1 = ShimEthDIF("e1") - -a = Node("a", - difs = [e1], - registrations = {"cbr.a" : [e1]}, - bindings = {"cbr.a" : "/usr/bin/cbr"}) - -b = Node("b", - difs = [e1]) - -tb = EmulabTestbed(exp_name = "test001", - username = "sander", - url = "wall2.ilabt.iminds.be") - -exp = OuroborosExperiment(tb, nodes = [a, b]) - -print(exp) - -exp.run() -- cgit v1.2.3