Library ../../../../libraries/Common.py
*** Variables ***
+${flow_update_time} 3s
${XmlsDir} ${CURDIR}/../../../../variables/xmls
${switch_idx} 1
${switch_name} s${switch_idx}
\ Run Keyword And Continue On Failure Add Flow Via Restconf ${switch_idx} ${table_id} ${data}
# Lets wait for ofp to collect stats
${flows}= Get Length ${flowlist0}
- Wait Until Keyword Succeeds 15s 2s FlowLib.Check Flow Stats Are Available openflow:1 ${flows}
+ Wait Until Keyword Succeeds 30s 2s FlowLib.Check Flow Stats Are Available openflow:1 ${flows}
# Show switch content (for debug purposes if needed)
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
\ Run Keyword And Continue On Failure Update Flow Via Restconf ${switch_idx} ${table_id} ${flow_id} ${upddata}
# Lets wait for ofp to collect stats
- Sleep 3s
+ Sleep ${flow_update_time}
# Show switch content (for debug purposes if needed)
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
\ Run Keyword And Continue On Failure Delete Flow Via Restconf ${switch_idx} ${table_id} ${flow_id}
# Lets wait for ofp to collect stats
- Sleep 3s
+ Sleep ${flow_update_time}
# Show switch content (for debug purposes if needed)
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>