[ONOS-6051] Use full path instead to fix the issue of "File or directory not found".
Change-Id: I727c94b9ff162e903eb624da74978151909f1678
diff --git a/tools/test/topos/bmv2-demo.py b/tools/test/topos/bmv2-demo.py
index 2ef6825..d1aa579 100644
--- a/tools/test/topos/bmv2-demo.py
+++ b/tools/test/topos/bmv2-demo.py
@@ -161,7 +161,7 @@
# net.hosts[0].startIperfClient(net.hosts[-1], flowBw="200k", numFlows=100, duration=10)
print "Setting netcfg..."
- call(("onos-netcfg", onosIp,
+ call(("%s/tools/test/bin/onos-netcfg" % ONOS_ROOT, onosIp,
"%s/tools/test/topos/bmv2-demo-cfg.json" % ONOS_ROOT))
if not args.onos_ip: