ECMP app fixes
Change-Id: Ib437f1e92cb90f7bc97539a447637066747c5532
diff --git a/tools/test/topos/bmv2-demo.py b/tools/test/topos/bmv2-demo.py
index 171cc6f..2864dca 100755
--- a/tools/test/topos/bmv2-demo.py
+++ b/tools/test/topos/bmv2-demo.py
@@ -70,7 +70,10 @@
netcfg=False,
longitude=longitude,
latitude=latitude,
- pipeconfId=args.pipeconf_id)
+ pipeconfId=args.pipeconf_id,
+ valgrind=True,
+ netcfgSleep=0,
+ leglevel="debug")
for i in range(1, args.size + 1):
for j in range(1, args.size + 1):
@@ -233,8 +236,14 @@
print "Network started"
+ generateNetcfg(onosIp, net, args)
+
+ sleep(30)
+ print "Uploading netcfg..."
+ call(("%s/onos-netcfg" % RUN_PACK_PATH, onosIp, TEMP_NETCFG_FILE))
+
# Generate background traffic.
- sleep(3)
+ sleep(5)
for (h1, h2) in combinations(net.hosts, 2):
h1.startPingBg(h2)
h2.startPingBg(h1)
@@ -250,11 +259,6 @@
# print "Starting traffic from h1 to h3..."
# net.hosts[0].startIperfClient(net.hosts[-1], flowBw="200k", numFlows=100, duration=10)
- generateNetcfg(onosIp, net, args)
-
- print "Uploading netcfg..."
- call(("%s/onos-netcfg" % RUN_PACK_PATH, onosIp, TEMP_NETCFG_FILE))
-
if not args.onos_ip:
ONOSCLI(net)
else: