X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdata_plane%2Fvpp_lite_topo%2Fodl_utils.sh;h=8a2b8bc817a62029bd33b046a27ca4c2533e87c4;hb=bcae6bae4f7baef18ef391af738a23405dd8ab3b;hp=f3edc284ae779fd1c59022f6a4a01203ef511e3c;hpb=fc9695982ebb88c9b05054abc772a2ce4cfa955c;p=one.git 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.."