diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-04-19 12:00:24 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2017-04-19 12:00:24 +0200 |
commit | 9325071dfe6f832c5be80e1206bc6338335cf977 (patch) | |
tree | 855058529ddb0d8b954e123fd4c92f5f6636803e /tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh | |
parent | b3025777172c12f7a55fb4dd8345ccef0cb1dcb0 (diff) |
Improve test runtime
Change-Id: I77366de42ac07b65c6fa71bd21034913d1d9b4b1
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh')
-rw-r--r-- | tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh b/tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh index c882c0e..ee2bb31 100644 --- a/tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh +++ b/tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh @@ -18,6 +18,11 @@ 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 + mac=`ip netns exec vppns1 ip a show dev veth_vpp1 | grep "link/ether" | awk '{print $2}'` echo "set ip arp host-vpp1 6.0.1.2 $mac" | nc 0 5002 echo "set ip6 neighbor host-vpp1 6:0:1::2 $mac" | nc 0 5002 |