X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftopologies%2F3_node_star.sh;fp=tests%2Fdata_plane%2Fvpp_lite_topo%2Ftopologies%2F3_node_star.sh;h=82dc734e8d32aa02d876a5cde8c5664448a0080f;hb=9325071dfe6f832c5be80e1206bc6338335cf977;hp=9f23315455eb38be9d4bd7daee8de0b3c8635840;hpb=b3025777172c12f7a55fb4dd8345ccef0cb1dcb0;p=one.git diff --git a/tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh b/tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh index 9f23315..82dc734 100644 --- a/tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh +++ b/tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh @@ -65,6 +65,11 @@ function 3_node_star_topo_clean function set_arp { + odl_mac=`ip a show dev odl | grep "link/ether" | awk '{print $2}'` + echo "set ip arp host-xtr1 6.0.3.100 $odl_mac" | nc 0 5002 + echo "set ip arp host-xtr2 6.0.3.100 $odl_mac" | nc 0 5003 + echo "set ip arp host-xtr3 6.0.3.100 $odl_mac" | nc 0 5004 + mac1=`ip netns exec vpp-ns5 ip a show dev veth_vpp5 | grep "link/ether" | awk '{print $2}'` ip netns exec vpp-ns6 arp -s 6.0.10.21 $mac1