\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
\ Run Keyword And Continue On Failure Add Flow Via RPC ${switch_idx} ${xmlroot}
# Lets wait for ofp to collect stats
- Sleep 3s
+ Wait Until Keyword Succeeds 10s 2s FlowLib.Check Flow Stats Are Available openflow:1
# Show switch content (for debug purposes if needed)
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
*** Keywords ***
Initialization Phase
[Documentation] Initiate tcp connection with controller
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>