remove use of deprecated nfdc syntax and update output processing
change all calls to nfd-status to nfdc
(except test_nfdc)
refs #4058
Change-Id: I4205602d180f5cb5c64e9883e79d5deb518533ad
diff --git a/test_localhop/localhop-test.sh b/test_localhop/localhop-test.sh
index 549b8d1..f83d575 100755
--- a/test_localhop/localhop-test.sh
+++ b/test_localhop/localhop-test.sh
@@ -31,7 +31,8 @@
sleep 1
# On A, add nexthop of `ndn:/localhop` to B
-nfdc add-nexthop ndn:/localhop udp4://$b_ipaddr
+nfdc face create udp4://$b_ipaddr
+nfdc route add ndn:/localhop udp4://$b_ipaddr
if [[ $? -ne 0 ]]
then
echo "Failed to add nexthop of ndn:/localhop"
@@ -40,7 +41,8 @@
fi
# On B, add nexthop of `ndn:/localhop` to C
-ssh $CTRL_B "nfdc add-nexthop ndn:/localhop udp4://$c_ipaddr"
+ssh $CTRL_B "nfdc face create udp4://$c_ipaddr"
+ssh $CTRL_B "nfdc route add ndn:/localhop udp4://$c_ipaddr"
# On C, start ndn-traffic-server
echo "starting ndn-traffic-server on host C..."