There are some file format issues detected by Robotidy. Fix them up.
Change-Id: I12cd644428713cd1d8ff25b2766f27ae44743f64
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Get_Change_Count
[Documentation] GET data change request, assert status 200, return the value.
[Arguments] ${session}=operational
- ${response} = RequestsLibrary.GET On Session ${session} url=${CC_DATA_CHANGE_COUNTER_URL} expected_status=200
+ ${response} = RequestsLibrary.GET On Session
+ ... ${session}
+ ... url=${CC_DATA_CHANGE_COUNTER_URL}
+ ... expected_status=200
# CompareStream.Set_Variable_If_At_Least_Else cannot be used direcly, because ${response.text}["data-change-counter"]["count"] would be
# evaluated before the stream comparison and it causes failures
BuiltIn.Log ${response.text}
${L3_TABLE} 21
${DEFAULT_PING_COUNT} 3
+
*** Keywords ***
Log Request
[Arguments] ${resp_content}
Operate_Xml_Lsp_Return_Json
[Documentation] Post XML data to given pcep-operations URI, check status_code is 200 and return response text (JSON).
[Arguments] ${uri_part} ${xml_data}
- ${response}= RequestsLibrary.POST On Session alias=pcep_session url=${uri_part} data=${xml_data} expected_status=any
+ ${response}= RequestsLibrary.POST On Session
+ ... alias=pcep_session
+ ... url=${uri_part}
+ ... data=${xml_data}
+ ... expected_status=any
Log ${xml_data}
Should Contain ${ALLOWED_STATUS_CODES} ${response.status_code}
RETURN ${response.text}
...
... Contrary to Utils.Get_Data_From_URI, this does not Log the (potentially huge) content.
[Arguments] ${session}=operational ${topology}=example-ipv4-topology
- ${response} = RequestsLibrary.GET On Session ${session} url=${PC_NW_TOPOLOGY}=${topology}?content=nonconfig expected_status=any
+ ${response} = RequestsLibrary.GET On Session
+ ... ${session}
+ ... url=${PC_NW_TOPOLOGY}=${topology}?content=nonconfig
+ ... expected_status=any
IF ${response.status_code} != 200
Fail Get on ${topology} returned status code ${response.status_code} with message: ${response.text}
END
# TODO: This keyword is not specific to prefix counting. Find a better place for it.
${peer_check_url} = BuiltIn.Set_Variable ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F
${exp_status_code} = BuiltIn.Set_Variable_If ${connected} 200 404
- ${rsp} = RequestsLibrary.GET On Session ${session} url=${peer_check_url}${peer_ip}?content=nonconfig expected_status=${exp_status_code}
+ ${rsp} = RequestsLibrary.GET On Session
+ ... ${session}
+ ... url=${peer_check_url}${peer_ip}?content=nonconfig
+ ... expected_status=${exp_status_code}
BuiltIn.Log ${rsp.content}
Set_Shard_Leaders_Location_And_Verify
*** Test Cases ***
Create Basic Import
[Documentation] schedule a basic import/restore with data containg controller mounting itself as a NETCONF
- ... device. The configuration is documented in
- ... https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#spawning-new-netconf-connectors
+ ... device. The configuration is documented in
+ ... https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#spawning-new-netconf-connectors
[Tags] create restore
DaeximKeywords.Cleanup The Export Files ${FIRST_CONTROLLER_INDEX}
ClusterManagement.Stop_Members_From_List_Or_All
*** Variables ***
-${XMLSDIR} ${CURDIR}/../../../../csit/variables/openflowplugin
-@{FLOWFILE} f279.xml f280.xml f281.xml f282.xml f283.xml f284.xml f278.xml
-@{GROUPFILE} g279.xml g280.xml g281.xml
-@{GROUP_ID} 1 2 3
-${FLAG_MSG} "bundle-based-reconciliation-enabled configuration property was changed to 'true'"
-${STATIC_FLOW} table=91
+${XMLSDIR} ${CURDIR}/../../../../csit/variables/openflowplugin
+@{FLOWFILE} f279.xml f280.xml f281.xml f282.xml f283.xml f284.xml f278.xml
+@{GROUPFILE} g279.xml g280.xml g281.xml
+@{GROUP_ID} 1 2 3
+${FLAG_MSG} "bundle-based-reconciliation-enabled configuration property was changed to 'true'"
+${STATIC_FLOW} table=91
@{DATA_MODELS}
-... data/opendaylight-inventory:nodes?${RFC8040_CONFIG_CONTENT}
-... data/opendaylight-inventory:nodes?${RFC8040_OPERATIONAL_CONTENT}
-${INTEGRATION_BRIDGE} br-int
+... data/opendaylight-inventory:nodes?${RFC8040_CONFIG_CONTENT}
+... data/opendaylight-inventory:nodes?${RFC8040_OPERATIONAL_CONTENT}
+${INTEGRATION_BRIDGE} br-int
*** Test Cases ***