- Remove 2 flow stats test for Boron. These are supported after
Carbon due to yang model change.
- Adjust bug 8723 and SW scalability test timers.
Change-Id: I308503f85c8aae64d758a72c036b2d9518083067
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
${status} ${result} Run Keyword And Ignore Error MininetKeywords.Stop Mininet And Exit
Return From Keyword If '${status}' == 'FAIL' ${status} Fail stopping mininet ${topology_discover_time}
Log To Console Checking No Switches
${status} ${result} Run Keyword And Ignore Error MininetKeywords.Stop Mininet And Exit
Return From Keyword If '${status}' == 'FAIL' ${status} Fail stopping mininet ${topology_discover_time}
Log To Console Checking No Switches
- ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 10s 2s FlowLib.Check No Switches In Inventory
+ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 30s 2s FlowLib.Check No Switches In Inventory
... ${switches}
Return From Keyword If '${status}' == 'FAIL' ${status} Fail checking no switch ${topology_discover_time}
Log To Console Checking No Topology
... ${switches}
Return From Keyword If '${status}' == 'FAIL' ${status} Fail checking no switch ${topology_discover_time}
Log To Console Checking No Topology
-Documentation Test suite for Telstra Bug validation.
+Documentation Test suite for Split connection bug.
Suite Setup Initialization Phase
Suite Teardown Final Phase
Library XML
Suite Setup Initialization Phase
Suite Teardown Final Phase
Library XML
${controller_opt} = BuiltIn.Set Variable
${controller_opt} = BuiltIn.Catenate ${controller_opt} ${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT}${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT1}
OVSDB.Set Controller In OVS Bridge ${TOOLS_SYSTEM_IP} s1 ${controller_opt}
${controller_opt} = BuiltIn.Set Variable
${controller_opt} = BuiltIn.Catenate ${controller_opt} ${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT}${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT1}
OVSDB.Set Controller In OVS Bridge ${TOOLS_SYSTEM_IP} s1 ${controller_opt}
- BuiltIn.Wait Until Keyword Succeeds 10s 1s OVSDB.Check OVS OpenFlow Connections ${TOOLS_SYSTEM_IP} 2
- BuiltIn.Wait Until Keyword Succeeds 30s 3s Execute OvsVsctl List Controllers Command
+ BuiltIn.Wait Until Keyword Succeeds 20s 1s OVSDB.Check OVS OpenFlow Connections ${TOOLS_SYSTEM_IP} 1
+ BuiltIn.Wait Until Keyword Succeeds 10s 1s Check Master Connection
+ FlowLib.Check Number Of Flows 1
+ [Teardown] Report_Failure_Due_To_Bug 8723
Restore original Connection To Controller And Check OVS Connection
[Documentation] Restore original Connection To Controller And Check OVS Connection
${controller_opt} = BuiltIn.Set Variable
${controller_opt} = BuiltIn.Catenate ${controller_opt} ${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT}
OVSDB.Set Controller In OVS Bridge ${TOOLS_SYSTEM_IP} s1 ${controller_opt}
Restore original Connection To Controller And Check OVS Connection
[Documentation] Restore original Connection To Controller And Check OVS Connection
${controller_opt} = BuiltIn.Set Variable
${controller_opt} = BuiltIn.Catenate ${controller_opt} ${SPACE}tcp:${ODL_SYSTEM_IP}:${ODL_OF_PORT}
OVSDB.Set Controller In OVS Bridge ${TOOLS_SYSTEM_IP} s1 ${controller_opt}
- BuiltIn.Wait Until Keyword Succeeds 10s 1s OVSDB.Check OVS OpenFlow Connections ${TOOLS_SYSTEM_IP} 1
- BuiltIn.Wait Until Keyword Succeeds 30s 3s Execute OvsVsctl List Controllers Command
+ BuiltIn.Wait Until Keyword Succeeds 20s 1s OVSDB.Check OVS OpenFlow Connections ${TOOLS_SYSTEM_IP} 1
+ BuiltIn.Wait Until Keyword Succeeds 10s 1s Check Master Connection
+ FlowLib.Check Number Of Flows 1
+ [Teardown] Report_Failure_Due_To_Bug 8723
*** Keywords ***
Initialization Phase
*** Keywords ***
Initialization Phase
MininetKeywords.Stop Mininet And Exit ${mininet_conn_id}
RequestsLibrary.Delete All Sessions
MininetKeywords.Stop Mininet And Exit ${mininet_conn_id}
RequestsLibrary.Delete All Sessions
-Execute OvsVsctl List Controllers Command
- [Documentation] List the configured controller connections.
+Check Master Connection
+ [Documentation] Execute OvsVsctl List Controllers Command and check for master connection.
${output} = Utils.Run Command On Mininet ${TOOLS_SYSTEM_IP} sudo ovs-vsctl list CONTROLLER
BuiltIn.Set Suite Variable ${output}
Should Contain ${output} master
${output} = Utils.Run Command On Mininet ${TOOLS_SYSTEM_IP} sudo ovs-vsctl list CONTROLLER
BuiltIn.Set Suite Variable ${output}
Should Contain ${output} master
Library XML
Library ${CURDIR}/../../../../libraries/Common.py
Library ${CURDIR}/../../../../libraries/XmlComparator.py
Library XML
Library ${CURDIR}/../../../../libraries/Common.py
Library ${CURDIR}/../../../../libraries/XmlComparator.py
-Variables ${CURDIR}/../../../../variables/Variables.py
Resource ${CURDIR}/../../../../libraries/CompareStream.robot
Resource ${CURDIR}/../../../../libraries/FlowLib.robot
Resource ${CURDIR}/../../../../libraries/CompareStream.robot
Resource ${CURDIR}/../../../../libraries/FlowLib.robot
+Resource ${CURDIR}/../../../../variables/Variables.robot
*** Variables ***
${flow_update_time} 3s
*** Variables ***
${flow_update_time} 3s
Test Add Flows Group 0
[Documentation] Add all flows and waits for SM to collect data
[Template] NONE
Test Add Flows Group 0
[Documentation] Add all flows and waits for SM to collect data
[Template] NONE
+ CompareStream.Run_Keyword_If_At_Most_Boron Remove Values From List ${flowlist0} f19.xml f102.xml
: FOR ${flowfile} IN @{flowlist0}
\ Log ${flowfile}
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
: FOR ${flowfile} IN @{flowlist0}
\ Log ${flowfile}
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
f18.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 19 Added
f18.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 19 Added
f19.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 20 Added
f19.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 20 Added
f101.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 102 Added
f101.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 102 Added
f102.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 103 Added
f102.xml ${True} ${True} ${False} ${check_id}
Test Is Flow 103 Added
f18.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 19 Updated
f18.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 19 Updated
f19.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 20 Updated
f19.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 20 Updated
f101.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 102 Updated
f101.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 102 Updated
f102.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 103 Updated
f102.xml ${True} ${True} ${True} ${check_id}
Test Is Flow 103 Updated
f18.xml ${False} ${False} ${True}
Test Is Flow 19 Deleted
f18.xml ${False} ${False} ${True}
Test Is Flow 19 Deleted
f19.xml ${False} ${False} ${True}
Test Is Flow 20 Deleted
f19.xml ${False} ${False} ${True}
Test Is Flow 20 Deleted
f101.xml ${False} ${False} ${True}
Test Is Flow 102 Deleted
f101.xml ${False} ${False} ${True}
Test Is Flow 102 Deleted
f102.xml ${False} ${False} ${True}
Test Is Flow 103 Deleted
f102.xml ${False} ${False} ${True}
Test Is Flow 103 Deleted
Suite Setup Initialization Phase
Suite Teardown Delete All Sessions
Test Template Check Datastore Presence
Suite Setup Initialization Phase
Suite Teardown Delete All Sessions
Test Template Check Datastore Presence
-Library XML
-Library SSHLibrary
-Resource ../../../../libraries/FlowLib.robot
-Library ../../../../libraries/XmlComparator.py
-Variables ../../../../variables/Variables.py
-Library ../../../../libraries/Common.py
+Library SSHLibrary
+Library XML
+Library ${CURDIR}/../../../../libraries/Common.py
+Library ${CURDIR}/../../../../libraries/XmlComparator.py
+Resource ${CURDIR}/../../../../libraries/CompareStream.robot
+Resource ${CURDIR}/../../../../libraries/FlowLib.robot
+Resource ${CURDIR}/../../../../variables/Variables.robot
*** Variables ***
${flow_update_time} 3s
*** Variables ***
${flow_update_time} 3s
Test Add Flows Group 0
[Documentation] Add all flows and waits for SM to collect data
[Template] NONE
Test Add Flows Group 0
[Documentation] Add all flows and waits for SM to collect data
[Template] NONE
+ CompareStream.Run_Keyword_If_At_Most_Boron Remove Values From List ${flowlist0} f19.xml f102.xml
: FOR ${flowfile} IN @{flowlist0}
\ Log ${flowfile}
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
: FOR ${flowfile} IN @{flowlist0}
\ Log ${flowfile}
\ Create Flow Variables For Suite From XML File ${XmlsDir}/${flowfile}
f18.xml ${False} ${True} ${False}
Test Is Flow 19 Added
f18.xml ${False} ${True} ${False}
Test Is Flow 19 Added
f19.xml ${False} ${True} ${False}
Test Is Flow 20 Added
f19.xml ${False} ${True} ${False}
Test Is Flow 20 Added
f101.xml ${False} ${True} ${False}
Test Is Flow 102 Added
f101.xml ${False} ${True} ${False}
Test Is Flow 102 Added
f102.xml ${False} ${True} ${False}
Test Is Flow 103 Added
f102.xml ${False} ${True} ${False}
Test Is Flow 103 Added
f18.xml ${False} ${True} ${True}
Test Is Flow 19 Updated
f18.xml ${False} ${True} ${True}
Test Is Flow 19 Updated
f19.xml ${False} ${True} ${True}
Test Is Flow 20 Updated
f19.xml ${False} ${True} ${True}
Test Is Flow 20 Updated
f101.xml ${False} ${True} ${True}
Test Is Flow 102 Updated
f101.xml ${False} ${True} ${True}
Test Is Flow 102 Updated
f102.xml ${False} ${True} ${True}
Test Is Flow 103 Updated
f102.xml ${False} ${True} ${True}
Test Is Flow 103 Updated
f18.xml ${False} ${False} ${True}
Test Is Flow 19 Deleted
f18.xml ${False} ${False} ${True}
Test Is Flow 19 Deleted
f19.xml ${False} ${False} ${True}
Test Is Flow 20 Deleted
f19.xml ${False} ${False} ${True}
Test Is Flow 20 Deleted
f101.xml ${False} ${False} ${True}
Test Is Flow 102 Deleted
f101.xml ${False} ${False} ${True}
Test Is Flow 102 Deleted
f102.xml ${False} ${False} ${True}
Test Is Flow 103 Deleted
f102.xml ${False} ${False} ${True}
Test Is Flow 103 Deleted