Yi Huang | 3d23067 | 2014-04-26 04:25:24 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | ipaddr=$1 | ||||
3 | strategy=$2 | ||||
Eric Newberry | 7745c1a | 2017-04-20 00:23:05 -0700 | [diff] [blame] | 4 | nfdc face create udp4://$ipaddr || exit 1 |
5 | nfdc route add /test-loop udp4://$ipaddr || exit 1 | ||||
6 | nfdc strategy set /test-loop $strategy || exit 1 |