2 Documentation Test suite for RESTCONF statistics
3 Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${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 @{node_list} openflow:1 openflow:2 openflow:3
15 Get Stats for all nodes
16 [Documentation] Get the stats for all nodes
17 Wait Until Keyword Succeeds 10s 2s Check For Elements At URI ${OPERATIONAL_NODES_API} ${node_list}
20 [Documentation] Get the stats for a node
21 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow:1
24 [Documentation] Get the stats for a node
25 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow:2
28 [Documentation] Get the stats for a node
29 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow:3