2 source topologies/2_node_topo.sh
4 if [ "$1" == "clean" ] ; then
5 2_node_topo_clean no_odl
9 if [[ $(id -u) != 0 ]]; then
10 echo "Error: run this as a root."
14 function test_single_icmp
16 2_node_topo_setup no_odl
20 # send only one ping request
21 ip netns exec vppns1 "${1}" -c 1 "${2}"
26 2_node_topo_clean no_odl
27 print_status $rc "No ICMP response!"