Code Review
/
one.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add adjacency test
[one.git]
/
tests
/
data_plane
/
vpp_lite_topo
/
test_driver
/
basic_no_odl.sh
diff --git
a/tests/data_plane/vpp_lite_topo/test_driver/basic_no_odl.sh
b/tests/data_plane/vpp_lite_topo/test_driver/basic_no_odl.sh
index
6d06a16
..
9996111
100644
(file)
--- a/
tests/data_plane/vpp_lite_topo/test_driver/basic_no_odl.sh
+++ b/
tests/data_plane/vpp_lite_topo/test_driver/basic_no_odl.sh
@@
-1,9
+1,9
@@
source config.sh
source odl_utils.sh
source config.sh
source odl_utils.sh
-source topologies/
basic
_topo.sh
+source topologies/
2_node
_topo.sh
if [ "$1" == "clean" ] ; then
if [ "$1" == "clean" ] ; then
-
basic
_topo_clean
+
2_node
_topo_clean
exit 0
fi
exit 0
fi
@@
-14,7
+14,7
@@
fi
function test_basic_no_odl
{
function test_basic_no_odl
{
-
basic
_topo_setup no_odl
+
2_node
_topo_setup no_odl
maybe_pause
maybe_pause
@@
-23,7
+23,7
@@
function test_basic_no_odl
ip netns exec vppns1 "${1}" -w 15 -c 1 "${2}"
if [ $? -ne 0 ] ; then
echo "No response received!"
ip netns exec vppns1 "${1}" -w 15 -c 1 "${2}"
if [ $? -ne 0 ] ; then
echo "No response received!"
-
basic
_topo_clean no_odl
+
2_node
_topo_clean no_odl
exit $test_result
fi
exit $test_result
fi
@@
-45,7
+45,7
@@
function test_basic_no_odl
# test done
# test done
-
basic
_topo_clean no_odl
+
2_node
_topo_clean no_odl
if [ $rc -ne 0 ] ; then
echo "Test failed: No ICMP response received within specified timeout limit!"
else
if [ $rc -ne 0 ] ; then
echo "Test failed: No ICMP response received within specified timeout limit!"
else