-Verify flowEntryBeforePathPolicy
- [Arguments] ${OF_VERSION}
- [Documentation] Checking Flows on switch S1 and switch S3 before applying path policy
- ${DUMPFLOWS}= Set Variable If "${OF_VERSION}"=="OF10" ${DUMPFLOWS_OF10} ${DUMPFLOWS_OF13}
- write ${DUMPFLOWS}
- ${result} Read Until mininet>
- @{list_to_verify} Create List in_port=1 actions=output:2 actions=output:3
- : FOR ${flowverifyElement} IN @{list_to_verify}
- \ should Contain ${result} ${flowverifyElement}
-
-Verify flowEntryAfterPathPolicy
- [Arguments] ${OF_VERSION}
- [Documentation] Checking Flows on switch S1 and switch S3 after applying path policy
- ${DUMPFLOWS}= Set Variable If "${OF_VERSION}"=="OF10" ${DUMPFLOWS_OF10} ${DUMPFLOWS_OF13}
- write ${DUMPFLOWS}
- ${result} Read Until mininet>
- @{list_to_verify} Create List in_port=1 actions=output:3 in_port=2
- : FOR ${flowverifyElement} IN @{list_to_verify}
- \ should Contain ${result} ${flowverifyElement}
-
-Start PathSuiteVtnMaTest
- [Documentation] Start VTN Manager Test Suite and Mininet
- Start SuiteVtnMaTest
- Start Mininet ${MININET} ${pathpolicy_topo_13} ${custom}
-
-Start PathSuiteVtnMaTestOF10
- [Documentation] Start VTN Manager Test Suite and Mininet in Open Flow 10 Specification
- Start SuiteVtnMaTest
- Start Mininet ${MININET} ${pathpolicy_topo_10} ${custom}
-
-Stop PathSuiteVtnMaTest
- [Documentation] Cleanup/Shutdown work at the completion of all tests.
- Delete All Sessions
- Stop Mininet ${mininet_conn_id}
-