2 Documentation Test suite for RESTCONF statistics
5 Library RequestsLibrary
6 Library ../../../libraries/Common.py
7 Variables ../../../variables/Variables.py
8 Resource ../../../libraries/Utils.robot
9 Resource ../../../variables/openflowplugin/Variables.robot
11 Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
12 Suite Teardown Delete All Sessions
16 @{node_list} openflow:1 openflow:2 openflow:3
20 Get Stats for all nodes
21 [Documentation] Get the stats for all nodes
22 Wait Until Keyword Succeeds
25 ... Check For Elements At URI
26 ... ${RFC8040_OPERATIONAL_NODES_API}
30 [Documentation] Get the stats for a node
31 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A1
34 [Documentation] Get the stats for a node
35 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A2
38 [Documentation] Get the stats for a node
39 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A3