3 source topologies/3_node_star.sh
5 if [ "$1" == "clean" ] ; then
6 3_node_star_topo_clean no_odl
10 if [[ $(id -u) != 0 ]]; then
11 echo "Error: run this as root."
15 function send_icmp_from_namespace
17 ip netns exec "$1" "$2" -w 15 -c 1 "$3"
21 function test_neighbor_discovery
23 3_node_star_topo_setup no_odl no_arp
26 send_icmp_from_namespace vpp-ns5 "$1" "$2"
30 3_node_star_topo_clean no_odl
31 print_status $rc "No ICMP response!"