From 75aacd73e2492e521c5c5af2290118d0c185c78c Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 20 Mar 2018 14:19:08 +0100 Subject: 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. --- examples/scalingtime.py | 6 +++--- 1 file 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)) -- cgit v1.2.3