2 Documentation Test suite for RESTCONF statistics
3 Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
4 Suite Teardown Delete All Sessions
6 Library RequestsLibrary
7 Library ../../../libraries/Common.py
8 Variables ../../../variables/Variables.py
9 Resource ../../../libraries/Utils.robot
12 ${REST_CONTEXT} /restconf/operational/opendaylight-inventory:nodes
13 @{node_list} openflow:1 openflow:2 openflow:3
16 Get Stats for all nodes
17 [Documentation] Get the stats for all nodes
18 Wait Until Keyword Succeeds 30s 2s Ensure All Nodes Are In Response ${REST_CONTEXT} ${node_list}
21 [Documentation] Get the stats for a node
22 Wait Until Keyword Succeeds 60s 2s Check Nodes Stats openflow:1
25 [Documentation] Get the stats for a node
26 Wait Until Keyword Succeeds 60s 2s Check Nodes Stats openflow:2
29 [Documentation] Get the stats for a node
30 Wait Until Keyword Succeeds 60s 2s Check Nodes Stats openflow:3