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_mobility_link/mobility-link-test.sh b/test_mobility_link/mobility-link-test.sh
index e658b01..64c7e59 100755
--- a/test_mobility_link/mobility-link-test.sh
+++ b/test_mobility_link/mobility-link-test.sh
@@ -58,8 +58,13 @@
sudo nfd &> $workdir/logs/nfd.log &"
sleep 1
+# Create faces
+ssh $CTRL_C "nfdc face create udp4://$IP4_B1"
+ssh $CTRL_B "nfdc face create udp4://$IP4_A1"
+nfdc face create udp4://$IP4_D1
+
# C: Register default route toward B
-ssh $CTRL_C "nfdc register / udp4://$IP4_B1"
+ssh $CTRL_C "nfdc route add / udp4://$IP4_B1"
if [[ $? -ne 0 ]]
then
echo "Failed to create default route on C toward B"
@@ -68,7 +73,7 @@
fi
# B: Register route /ucla toward A
-ssh $CTRL_B "nfdc register /ucla udp4://$IP4_A1"
+ssh $CTRL_B "nfdc route add /ucla udp4://$IP4_A1"
if [[ $? -ne 0 ]]
then
echo "Failed to create route /ucla on B toward A"
@@ -77,7 +82,7 @@
fi
# A: Register route /ucla/cs toward D
-nfdc register /ucla/cs udp4://$IP4_D1
+nfdc route add /ucla/cs udp4://$IP4_D1
if [[ $? -ne 0 ]]
then
echo "Failed to create route /ucla/cs on A toward D"