From af09353134cdd9c6ea250851b22086e7237073d4 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 24 Jun 2016 16:58:29 +0200 Subject: Small changes to the SMR + disjoint locators test - rename odl interface connected to the wan4 network - update text of user prompt messages Change-Id: I4450e5a6233b1317a8bbc7cae61d1918182dc08f Signed-off-by: Florin Coras --- .../vpp_lite_topo/test_driver/smr_rtr_disjoint.sh | 12 ++++++------ .../vpp_lite_topo/topologies/smr_rtr_disjoint.sh | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/data_plane/vpp_lite_topo') diff --git a/tests/data_plane/vpp_lite_topo/test_driver/smr_rtr_disjoint.sh b/tests/data_plane/vpp_lite_topo/test_driver/smr_rtr_disjoint.sh index 4b8abd9..f03c199 100644 --- a/tests/data_plane/vpp_lite_topo/test_driver/smr_rtr_disjoint.sh +++ b/tests/data_plane/vpp_lite_topo/test_driver/smr_rtr_disjoint.sh @@ -48,9 +48,9 @@ function test_smr_rtr_disjoint { rc=$? if [ $rc -ne 0 ] ; then - echo "Simple test failed: No ICMP response received within specified timeout limit!" + echo "IPv6 over IPv4 test failed: No ICMP response received within specified timeout limit!" else - echo "Simple test passed." + echo "IPv6 over IPv4 test passed." test_result=0 fi @@ -62,18 +62,18 @@ function test_smr_rtr_disjoint { smr_rtr_disjoint_reconfigure if [ "$2" == "wait" ] ; then - read -p "Topology reconfigured press any key to continue .." -n1 + read -p "Forwarding reconfigured press any key to continue .." -n1 fi - # TEST IP6 over disjoing IP4 and IP6 underlay + # TEST IP6 over disjoint IP4 and IP6 underlay test_ns_ping $1 vpp1-ns rc=$? if [ $rc -ne 0 ] ; then - echo "SMR+RTR test failed: No ICMP response received within specified timeout limit!" + echo "SMR + disjoint locators test failed: No ICMP response received within specified timeout limit!" else - echo "SMR+RTR test passed." + echo "SMR + disjoint locators test passed." test_result=0 fi diff --git a/tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh b/tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh index 4bff1be..03e1c84 100644 --- a/tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh +++ b/tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh @@ -17,7 +17,7 @@ function smr_rtr_disjoint_clean { ip link del dev rtr1_vpp1 &> /dev/null ip link del dev vpp2_rtr &> /dev/null ip link del dev rtr_vpp2 &> /dev/null - ip link del dev odl_vpp1 &> /dev/null + ip link del dev odl_wan4 &> /dev/null ip link del dev odl_vpp2 &> /dev/null ip netns del vpp1-ns &> /dev/null @@ -41,7 +41,7 @@ function smr_rtr_disjoint_setup { ip link add veth_vpp2_rtr type veth peer name vpp2_rtr ip link add veth_vpp2_wan4 type veth peer name vpp2_wan4 ip link add veth_rtr_vpp2 type veth peer name rtr_vpp2 - ip link add veth_odl_vpp1 type veth peer name odl_vpp1 + ip link add veth_odl_wan4 type veth peer name odl_wan4 ip link add veth_odl_vpp2 type veth peer name odl_vpp2 # enable peer interfaces @@ -50,7 +50,7 @@ function smr_rtr_disjoint_setup { ip link set dev vpp2_rtr up ip link set dev vpp2_wan4 up ip link set dev rtr_vpp2 up - ip link set dev odl_vpp1 up + ip link set dev odl_wan4 up ip link set dev odl_vpp2 up # enable veth interfaces and set them in the appropriate ip ns @@ -59,7 +59,7 @@ function smr_rtr_disjoint_setup { ip link set dev veth_vpp2_rtr up netns vpp2-rtr-ns ip link set dev veth_vpp2_wan4 up netns wan4-ns ip link set dev veth_rtr_vpp2 up netns vpp2-rtr-ns - ip link set dev veth_odl_vpp1 up netns wan4-ns + ip link set dev veth_odl_wan4 up netns wan4-ns ip link set dev veth_odl_vpp2 up netns vpp2-rtr-ns # vpp1, rtr and odl @@ -67,7 +67,7 @@ function smr_rtr_disjoint_setup { ip netns exec wan4-ns brctl addif vppbr1 veth_vpp1_wan4 ip netns exec wan4-ns brctl addif vppbr1 veth_rtr_wan4 ip netns exec wan4-ns brctl addif vppbr1 veth_vpp2_wan4 - ip netns exec wan4-ns brctl addif vppbr1 veth_odl_vpp1 + ip netns exec wan4-ns brctl addif vppbr1 veth_odl_wan4 ip netns exec wan4-ns ifconfig vppbr1 up # vpp2, rtr and odl @@ -106,9 +106,9 @@ function smr_rtr_disjoint_setup { " # vpp1 to odl - ip addr add 6.0.3.100/24 dev odl_vpp1 - ip addr add 6:0:3::100/64 dev odl_vpp1 - ethtool --offload odl_vpp1 rx off tx off + ip addr add 6.0.3.100/24 dev odl_wan4 + ip addr add 6:0:3::100/64 dev odl_wan4 + ethtool --offload odl_wan4 rx off tx off # vpp2 to odl ip addr add 6.0.5.100/24 dev odl_vpp2 -- cgit 1.2.3-korg