X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FOpenStackOperations.robot;h=530abaf3794c853edc73b7afd4decc14e2b810be;hb=1430678bb55393a918f38b5c32519e804b6f6db3;hp=368e0596aeee9b91ae5c09922fdc3cefe44664bd;hpb=7e9d5a330e03b99351c87c82ef96a03408c2584b;p=integration%2Ftest.git diff --git a/csit/libraries/OpenStackOperations.robot b/csit/libraries/OpenStackOperations.robot index 368e0596ae..530abaf379 100644 --- a/csit/libraries/OpenStackOperations.robot +++ b/csit/libraries/OpenStackOperations.robot @@ -1115,8 +1115,7 @@ OpenStack Suite Setup BuiltIn.Set Suite Variable @{tcpdump_port_6653_conn_ids} BuiltIn.Run Keyword If "${PRE_CLEAN_OPENSTACK_ALL}"=="True" OpenStack Cleanup All OpenStackOperations.Add OVS Logging On All OpenStack Nodes - Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 ClusterManagement.Check Status Of Services Is OPERATIONAL @{NETVIRT_DIAG_SERVICES} - Verify Expected Default Tables On Nodes + Validate Deployment OpenStack Suite Teardown [Documentation] Wrapper teardown keyword that can be used in any suite running in an openstack environement @@ -1132,6 +1131,13 @@ OpenStack Suite Teardown : FOR ${i} IN RANGE ${NUM_ODL_SYSTEM} \ KarafKeywords.Issue Command On Karaf Console threads --list | wc -l ${ODL_SYSTEM_${i+1}_IP} +Validate Deployment + [Documentation] Validate the deployment. Examples to validate are verifying default table + ... flows are installed and that the tunnel mesh has been built correctly. + Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 ClusterManagement.Check Status Of Services Is OPERATIONAL @{NETVIRT_DIAG_SERVICES} + Verify Expected Default Tunnels + Verify Expected Default Tables On Nodes + Copy DHCP Files From Control Node [Documentation] Copy the current DHCP files to the robot vm. The keyword must be called ... after the subnet(s) are created and before the subnet(s) are deleted. @@ -1214,6 +1220,11 @@ Get Network Segmentation Id @{list} = String.Split String ${output} [Return] @{list}[0] +Verify Expected Default Tunnels + [Documentation] Verify if the default tunnels are created + ${output} = ODLTools.Analyze Tunnels test_name=${SUITE_NAME}.Suite Setup + BuiltIn.Should Contain ${output} All tunnels are up + Verify Expected Default Tables On Nodes [Arguments] ${node_ips}=@{OS_ALL_IPS} [Documentation] Verify if Default Table Entries are programmed on all Nodes