2 Documentation Test suite for FlowProgramming in RESTCONF inventory
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 Resource ../../../libraries/Utils.robot
8 Resource ../../../variables/openflowplugin/Variables.robot
9 Variables ../../../variables/Variables.py
14 Check Stats for node 1
15 [Documentation] Get the stats for a node
16 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A1
18 Check Stats for node 2
19 [Documentation] Get the stats for a node
20 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A2
22 Check Stats for node 3
23 [Documentation] Get the stats for a node
24 Wait Until Keyword Succeeds 10s 2s Check Nodes Stats openflow%3A3
27 [Documentation] Check all flows are present
28 Wait Until Keyword Succeeds 10s 2s Check For Specific Number Of Elements At URI ${RFC8040_OPERATIONAL_NODES_API} "output-node-connector" 21
31 [Documentation] Ping all, verify no packet loss or duplicates
33 ${result} Read Until mininet>
34 Should Contain ${result} Results: 0% dropped