X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fexamples%2Fsonata_y1_demo_topology_1.py;h=03a3fd00a4e96ee35d339332b805d2bf07fbb620;hb=ea8db83259fd1f87774ffb3b80c8ab455481da28;hp=51455433474eb53374d831543398727bff54e9b5;hpb=53337bc9b5cd5b6c613453b04c4f9cd703a61344;p=osm%2Fvim-emu.git diff --git a/src/emuvim/examples/sonata_y1_demo_topology_1.py b/src/emuvim/examples/sonata_y1_demo_topology_1.py index 5145543..03a3fd0 100644 --- a/src/emuvim/examples/sonata_y1_demo_topology_1.py +++ b/src/emuvim/examples/sonata_y1_demo_topology_1.py @@ -18,8 +18,8 @@ def create_topology1(): dc1 = net.addDatacenter("dc1") dc2 = net.addDatacenter("dc2") s1 = net.addSwitch("s1") - net.addLink(dc1, s1) - net.addLink(dc2, s1) + net.addLink(dc1, s1, delay="10ms") + net.addLink(dc2, s1, delay="20ms") # create a new instance of a endpoint implementation zapi1 = ZeroRpcApiEndpoint("0.0.0.0", 4242)