+Check Stats for node 2
+ [Documentation] Get the stats for a node
+ Wait Until Keyword Succeeds 30s 2s Check Nodes Stats openflow:2
+
+Check Stats for node 3
+ [Documentation] Get the stats for a node
+ Wait Until Keyword Succeeds 30s 2s Check Nodes Stats openflow:3
+
+Check Ports
+ [Documentation] Check all ports are present
+ @{list} Create List openflow:1:1 openflow:1:2 openflow:1:3 openflow:2:1 openflow:2:2
+ ... openflow:2:3 openflow:3:1 openflow:3:2 openflow:3:3
+ Wait Until Keyword Succeeds 30s 2s Check For Elements At URI ${OPERATIONAL_NODES_API} ${list}
+
+Check Ports STP status
+ [Documentation] Check the stp status of the ports (forwarding/discarding)
+ Wait Until Keyword Succeeds 30s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${FORWARD} 4
+ Wait Until Keyword Succeeds 30s 2s Check For Specific Number Of Elements At URI ${OPERATIONAL_NODES_API} ${DISCARD} 2
+
+Ping Test
+ [Documentation] Ping h1 to h2, verify no packet loss or duplicates
+ Write h1 ping -w 1 h2
+ ${result} Read Until mininet>
+ Should Contain ${result} 1 received, 0% packet loss
+ Should Not Contain ${result} duplicates
+
+*** Keywords ***
+Start Suite
+ [Documentation] Open controller session & mininet connection and start mininet custom topo
+ Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ ${start}= Set Variable sudo mn --controller=remote,ip=${CONTROLLER} --custom customtopo.py --topo ring --switch ovsk,protocols=OpenFlow13
+ ${mininet_conn_id}= Open Connection ${MININET} prompt=${linux_prompt} timeout=30s
+ Set Suite Variable ${mininet_conn_id}
+ Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/id_rsa any
+ Put File ${CURDIR}/../topologies/customtopo.py
+ Execute Command sudo ovs-vsctl set-manager ptcp:6644
+ Execute Command sudo mn -c
+ Write ${start}
+ Read Until mininet>
+
+Stop Suite
+ [Documentation] Stop mininet topo and close connections & sessions
+ Log Stop the test on the base edition
+ Switch Connection ${mininet_conn_id}
+ Read
+ Write exit
+ Read Until ${linux_prompt}
+ Close Connection
+ Delete All Sessions