diff options
author | Sander Vrijders <[email protected]> | 2018-03-20 14:19:08 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-03-20 14:19:08 +0100 |
commit | 75aacd73e2492e521c5c5af2290118d0c185c78c (patch) | |
tree | 2f4f191c79de3e1e045565a8560be3940538c4fd /examples | |
parent | a7cd88d752b72ea85ccefa5e1f3dceba13fb1fc2 (diff) | |
download | rumba-75aacd73e2492e521c5c5af2290118d0c185c78c.tar.gz rumba-75aacd73e2492e521c5c5af2290118d0c185c78c.zip |
examples: Simplify scalingtime.py
This simplifies scalingtime.py to have the end nodes in the public
internet layer directly on top of the ethernet layer. There is no need
for them to be a part of the metro layer.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/scalingtime.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/scalingtime.py b/examples/scalingtime.py index f0c9285..cb1ba4f 100755 --- a/examples/scalingtime.py +++ b/examples/scalingtime.py @@ -70,10 +70,10 @@ for i in range(0, args.metro): for k in range(0, args.end_nodes): ee = ShimEthDIF("e-" + str(i) + "-" + str(j) + "-" + str(k)) end_node = Node("end-" + str(i) + "-" + str(j) + "-" + str(k), - difs = [m, pi, ee], - dif_registrations = {pi : [m], m : [ee]}) + difs = [pi, ee], + dif_registrations = {pi : [ee]}) node.add_dif(ee) - node.add_dif_registration(m, ee) + node.add_dif_registration(pi, ee) nodes.append(end_node) e = ShimEthDIF("e-" + str(i) + "-" + str(args.metro_nodes)) |