4 source topologies/3_node_star.sh
6 # set odl config json file names; they are common among all rtr tests
7 ODL_CONFIG_FILE1="elp1.json"
8 ODL_CONFIG_FILE2="elp2.json"
10 if [ "$1" == "clean" ] ; then
11 3_node_star_topo_clean
15 if [[ $(id -u) != 0 ]]; then
16 echo "Error: run this as a root."
20 function test_rtr_single_iface {
21 3_node_star_topo_setup
27 ip netns exec vpp-ns1 "${1}" -w 20 -c 1 "${2}"
31 3_node_star_topo_clean
33 print_status $rc "No ICMP response!"