summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/topologies
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-09-28 16:18:25 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-09-28 16:18:25 +0200
commit18b298a6096f95362c4f38270166f335790f4d0b (patch)
treedd649ea2604b454315ea99f39fc0a7ad4461a150 /tests/data_plane/vpp_lite_topo/topologies
parentae57efc8dc2cd1d70352497b2cb6d57cddb06fa2 (diff)
Update adjacency tests
Change-Id: I00fdf160ead11b395785741475651f2bf4894442 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/topologies')
-rw-r--r--tests/data_plane/vpp_lite_topo/topologies/2_node_topo.sh4
1 files changed, 3 insertions, 1 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 eafa09e..9e8cf6d 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
@@ -26,9 +26,11 @@ function set_arp
mac=`echo "sh hard host-intervpp1" | nc 0 5002 | grep 'Ethernet address' | awk '{print $3}'`
echo "set ip arp host-intervpp2 6.0.3.1 $mac" | nc 0 5003
+ echo "set ip6 neighbor host-intervpp2 6:0:3::1 $mac" | nc 0 5003
mac=`echo "sh hard host-intervpp2" | nc 0 5003 | grep 'Ethernet address' | awk '{print $3}'`
echo "set ip arp host-intervpp1 6.0.3.2 $mac" | nc 0 5002
+ echo "set ip6 neighbor host-intervpp1 6:0:3::2 $mac" | nc 0 5002
}
function 2_node_topo_clean
@@ -119,12 +121,12 @@ function 2_node_topo_setup
start_vpp 5002 vpp1
start_vpp 5003 vpp2
+ sleep 2
echo "* Selected configuration method: $CFG_METHOD"
if [ "$CFG_METHOD" == "cli" ] ; then
echo "exec ${VPP_LITE_CONF}/vpp1.cli" | nc 0 5002
echo "exec ${VPP_LITE_CONF}/vpp2.cli" | nc 0 5003
elif [ "$CFG_METHOD" == "vat" ] ; then
- sleep 2
${VPP_API_TEST} chroot prefix vpp1 script in ${VPP_LITE_CONF}/vpp1.vat
${VPP_API_TEST} chroot prefix vpp2 script in ${VPP_LITE_CONF}/vpp2.vat
else