summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/vpp_lite_topo/odl_utils.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-06-08 09:21:25 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-06-20 10:28:02 +0200
commitbcae6bae4f7baef18ef391af738a23405dd8ab3b (patch)
tree018964b3e921f7e4a79ee551348fcb6d2d34cc8a /tests/data_plane/vpp_lite_topo/odl_utils.sh
parentfc9695982ebb88c9b05054abc772a2ce4cfa955c (diff)
Add EID virualization tests
Change-Id: I27680706a5f244c3b756bc4abced5da9bad3007f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/odl_utils.sh')
-rw-r--r--tests/data_plane/vpp_lite_topo/odl_utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data_plane/vpp_lite_topo/odl_utils.sh b/tests/data_plane/vpp_lite_topo/odl_utils.sh
index f3edc28..8a2b8bc 100644
--- a/tests/data_plane/vpp_lite_topo/odl_utils.sh
+++ b/tests/data_plane/vpp_lite_topo/odl_utils.sh
@@ -2,7 +2,7 @@
function post_curl {
echo "Sending mapping from ${2} to ODL; operation: ${1}"
until [ "`curl -X POST "http://${ODL_IP}:${ODL_PORT}/restconf/operations/odl-mappingservice:${1}" \
- -H "Content-Type: application/json" --data-binary "@${ODL_CONFIG_DIR}${2}" \
+ -H "Content-Type: application/json" --data-binary "@${ODL_CONFIG_DIR}/${2}" \
-u ${ODL_USER}:${ODL_PASSWD} -s -o /dev/null -w "%{http_code}"`" == "200" ]
do
echo "Updating failed; trying again.."