summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-08-30 14:49:58 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-08-31 09:04:50 +0200
commit1df1d674eaace35d52973786403eb1dbe3c0d5eb (patch)
tree39546a92cb3715a957fe44f9318ae3a2cc3718bb /tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh
parent4543d2821b1ab69579a525d83497ff84e9084bed (diff)
Use VAT in testsstable/1609
Change-Id: If8f08c5e998c5fbd9ea5c1f0252a77e01ea347ec Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh')
-rw-r--r--tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh b/tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh
index b6530e7..c740a17 100644
--- a/tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh
+++ b/tests/data_plane/vpp_lite_topo/topologies/rtr_single_iface.sh
@@ -97,6 +97,11 @@ function rtr_single_iface_setup {
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}
}