use nfdc instead of nfd-status
refs: #3878
Change-Id: Ib3aad0fdb48e719031d03a3706d284d93ada5653
diff --git a/ndn/experiments/experiment.py b/ndn/experiments/experiment.py
index e70c02c..f7284a8 100644
--- a/ndn/experiments/experiment.py
+++ b/ndn/experiments/experiment.py
@@ -66,8 +66,8 @@
# Checking for convergence
for host in self.net.hosts:
- statusRouter = host.cmd("nfd-status -b | grep site/%C1.Router/cs/")
- statusPrefix = host.cmd("nfd-status -b | grep ndn | grep site | grep -v Router")
+ statusRouter = host.cmd("nfdc fib list | grep site/%C1.Router/cs/")
+ statusPrefix = host.cmd("nfdc fib list | grep ndn | grep site | grep -v Router")
didNodeConverge = True
for node in self.nodes.split(","):
if ( ("/ndn/" + node + "-site/%C1.Router/cs/" + node) not in statusRouter or