X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fgroupbasedpolicy%2FGBPSFC%2F6-node%2Fdemo-symmetric-chain%2F010_set_odl.robot;h=80cdc88410b3ddf58db0fd2265d180b997db6cff;hb=refs%2Fchanges%2F02%2F34902%2F1;hp=ea59ffbfe6bc7d4223b369d85561fd2cad3174d7;hpb=955afa35efdd87b0fb9da6c8bf7327302f15bba9;p=integration%2Ftest.git diff --git a/csit/suites/groupbasedpolicy/GBPSFC/6-node/demo-symmetric-chain/010_set_odl.robot b/csit/suites/groupbasedpolicy/GBPSFC/6-node/demo-symmetric-chain/010_set_odl.robot index ea59ffbfe6..80cdc88410 100644 --- a/csit/suites/groupbasedpolicy/GBPSFC/6-node/demo-symmetric-chain/010_set_odl.robot +++ b/csit/suites/groupbasedpolicy/GBPSFC/6-node/demo-symmetric-chain/010_set_odl.robot @@ -13,30 +13,29 @@ Resource ../../../../../libraries/GBP/OpenFlowUtils.robot Put Service Functions [Documentation] Register Service Functions to ODL ${json_to_edit} OperatingSystem.Get File ${SF_FILE} - ${edited_json} Replace String ${json_to_edit} _SF1 ${GBPSFC3} - ${edited_json} Replace String ${edited_json} _SF2 ${GBPSFC5} + ${edited_json} Replace String ${json_to_edit} _SF1 ${GBPSFC3} + ${edited_json} Replace String ${edited_json} _SF2 ${GBPSFC5} Add Elements To URI And Verify ${SF_PATH} ${edited_json} ${HEADERS_YANG_JSON} Put Service Function Forwarders [Documentation] Register Service Function Forwarders to ODL ${json_to_edit} OperatingSystem.Get File ${SFF_FILE} - ${edited_json} Replace String ${json_to_edit} _SFF1 ${GBPSFC2} - ${edited_json} Replace String ${edited_json} _SFF2 ${GBPSFC4} + ${edited_json} Replace String ${json_to_edit} _SFF1 ${GBPSFC2} + ${edited_json} Replace String ${edited_json} _SFF2 ${GBPSFC4} Add Elements To URI And Verify ${SFF_PATH} ${edited_json} ${HEADERS_YANG_JSON} - Wait For Manager and Switch Connected on GBPSFC2 [Documentation] Making sure that manager is connected for further processing. SSHLibrary.Open Connection ${GBPSFC2} Utils.Flexible Mininet Login - Wait Until Keyword Succeeds 2min 3s Manager and Switch Connected sw_name=sw2 + Wait Until Keyword Succeeds 2min 3s Manager and Switch Connected sw_name=sw2 SSHLibrary.Close Connection Wait For Manager and Switch Connected on GBPSFC4 [Documentation] Making sure that manager is connected for further processing. SSHLibrary.Open Connection ${GBPSFC4} Utils.Flexible Mininet Login - Wait Until Keyword Succeeds 2min 3s Manager and Switch Connected sw_name=sw4 + Wait Until Keyword Succeeds 2min 3s Manager and Switch Connected sw_name=sw4 SSHLibrary.Close Connection Put Service Function Chains @@ -50,8 +49,8 @@ Put Service Function Paths Put Tunnels [Documentation] Send tunnel augmentation to ODL ${json_to_edit} OperatingSystem.Get File ${TUNNELS_FILE} - ${edited_json} Replace String ${json_to_edit} _CLASSIFIER1 ${GBPSFC1} - ${edited_json} Replace String ${edited_json} _CLASSIFIER2 ${GBPSFC6} + ${edited_json} Replace String ${json_to_edit} _CLASSIFIER1 ${GBPSFC1} + ${edited_json} Replace String ${edited_json} _CLASSIFIER2 ${GBPSFC6} Add Elements To URI And Verify ${TUNNELS_PATH} ${edited_json} ${HEADERS_YANG_JSON} Put Tenant @@ -60,8 +59,8 @@ Put Tenant Register Endpoints [Documentation] Endpoints registration - @{endpoint_files} = OperatingSystem.List Files In Directory ${ENDPOINTS_SYMM_DIR} vethl*.*json absolute - :FOR ${endpoint_file} IN @{endpoint_files} + @{endpoint_files} = OperatingSystem.List Files In Directory ${ENDPOINTS_SYMM_DIR} vethl*.*json absolute + : FOR ${endpoint_file} IN @{endpoint_files} \ Post Elements To URI From File ${ENDPOINT_REG_PATH} ${endpoint_file} ${HEADERS_YANG_JSON} ${resp} RequestsLibrary.Get Request session ${ENDPOINTS_OPER_PATH} - Log ${resp.content} \ No newline at end of file + Log ${resp.content}