diff options
author | Sander Vrijders <[email protected]> | 2017-02-04 10:33:44 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-02-04 10:33:44 +0100 |
commit | b1c002e96c54df211fbc4dfeec188cbf31a56fda (patch) | |
tree | 11bb1c19a29ea7c278ebed29a51ac33fb20ea5c8 /main.py | |
parent | 47d65005256166cdeb795debbce327fcbf155c48 (diff) | |
download | rumba-b1c002e96c54df211fbc4dfeec188cbf31a56fda.tar.gz rumba-b1c002e96c54df211fbc4dfeec188cbf31a56fda.zip |
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
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 25 |
1 files changed, 0 insertions, 25 deletions
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() |