summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh')
-rw-r--r--tests/data_plane/vpp_lite_topo/topologies/3_node_star.sh5
1 files changed, 5 insertions, 0 deletions
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