*** Settings ***
Documentation Test suite for RESTCONF Topology
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Get RESTCONF Topology
[Documentation] Get RESTCONF Topology and validate the result.
Wait Until Keyword Succeeds 30s 2s Ensure All Nodes Are In Response ${REST_CONTEXT} ${node_list}
- ${resp} RequestsLibrary.Get session ${REST_CONTEXT}
+ ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT}
Log ${resp.content}
List all the links
# increasing the WUKS timeout to 60s to see if the CI environment might just be taking
# longer for this test with the lithium redesign plugin
Wait Until Keyword Succeeds 60s 2s Verify Links ${links}
- # shot in the dark. maybe the "link s1 s2 down" really didn't take the link(s) down?
+ # shot in the dark. maybe the "link s1 s2 down" really didn't take the link(s) down?
# hopefully this output below will show that.
Write sh ovs-vsctl find Interface name="s1-eth1"
${output}= Read Until mininet>
*** Keywords ***
Verify Links
[Arguments] ${expected_links}
- ${resp} RequestsLibrary.Get session ${REST_CONTEXT}/topology/flow:1
+ ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT}/topology/flow:1
Log ${resp.content}
Should Be Equal As Strings ${resp.status_code} 200
${result} To JSON ${resp.content}