X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fgroupbasedpolicy%2FGBP%2F3-node%2Fgbp1%2F001_set_odl.robot;fp=csit%2Fsuites%2Fgroupbasedpolicy%2FGBP%2F3-node%2Fgbp1%2F001_set_odl.robot;h=fea2008905c009e804bbc2f108d0f2e3b268f718;hb=e2436962bb10950e28c242f324ed61a244bd2cd4;hp=20a4e57931537871f3fe2342bb75be522268118c;hpb=f285f22d4d3502d2a67b2cc7bf3b6d7efefa71cc;p=integration%2Ftest.git diff --git a/csit/suites/groupbasedpolicy/GBP/3-node/gbp1/001_set_odl.robot b/csit/suites/groupbasedpolicy/GBP/3-node/gbp1/001_set_odl.robot index 20a4e57931..fea2008905 100644 --- a/csit/suites/groupbasedpolicy/GBP/3-node/gbp1/001_set_odl.robot +++ b/csit/suites/groupbasedpolicy/GBP/3-node/gbp1/001_set_odl.robot @@ -1,8 +1,8 @@ *** Settings *** Documentation Test suite for GBP Tenants, Operates functions from Restconf APIs. -Default Tags single-tenant setup single-tenant-setup Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} Suite Teardown Delete All Sessions +Default Tags single-tenant setup single-tenant-setup Library RequestsLibrary Library OperatingSystem Variables ../../../../../variables/Variables.py @@ -15,16 +15,16 @@ Resource ../Variables.robot Put Tunnels [Documentation] Send tunnel augmentation to ODL ${json_to_edit} OperatingSystem.Get File ${TUNNELS_FILE} - ${edited_json} Replace String ${json_to_edit} _CLASSIFIER1 ${GBP1} - ${edited_json} Replace String ${edited_json} _CLASSIFIER2 ${GBP2} - ${edited_json} Replace String ${edited_json} _CLASSIFIER3 ${GBP3} + ${edited_json} Replace String ${json_to_edit} _CLASSIFIER1 ${GBP1} + ${edited_json} Replace String ${edited_json} _CLASSIFIER2 ${GBP2} + ${edited_json} Replace String ${edited_json} _CLASSIFIER3 ${GBP3} ${resp} RequestsLibrary.Put Request session ${TUNNELS_PATH} ${edited_json} ${HEADERS} Should Be Equal As Strings ${resp.status_code} 200 Register Endpoints [Documentation] Endpoints registration - @{endpoint_files} = OperatingSystem.List Files In Directory ${ENDPOINTS_GBP1_DIR} vethl*.*json absolute - :FOR ${endpoint_file} IN @{endpoint_files} + @{endpoint_files} = OperatingSystem.List Files In Directory ${ENDPOINTS_GBP1_DIR} vethl*.*json absolute + : FOR ${endpoint_file} IN @{endpoint_files} \ Post Elements To URI From File ${ENDPOINT_REG_PATH} ${endpoint_file} Put Tenant