Code Review
/
one.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use VAT in tests
[one.git]
/
tests
/
data_plane
/
vpp_lite_topo
/
topologies
/
smr_rtr_disjoint.sh
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
03e1c84
..
2b50cc9
100644
(file)
--- a/
tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh
+++ b/
tests/data_plane/vpp_lite_topo/topologies/smr_rtr_disjoint.sh
@@
-133,6
+133,11
@@
function smr_rtr_disjoint_setup {
exec ${VPP_LITE_CONF}/rtr.config } \
api-trace { on } api-segment {prefix rtr}
exec ${VPP_LITE_CONF}/rtr.config } \
api-trace { on } api-segment {prefix rtr}
+ sleep 2
+ ${VPP_API_TEST} chroot prefix xtr1 script in ${VPP_LITE_CONF}/vpp1.vat
+ ${VPP_API_TEST} chroot prefix xtr2 script in ${VPP_LITE_CONF}/vpp2.vat
+ ${VPP_API_TEST} chroot prefix rtr script in ${VPP_LITE_CONF}/vpp3.vat
+
post_curl "add-mapping" ${ODL_CONFIG_FILE1}
post_curl "add-mapping" ${ODL_CONFIG_FILE2}
}
post_curl "add-mapping" ${ODL_CONFIG_FILE1}
post_curl "add-mapping" ${ODL_CONFIG_FILE2}
}