From: JayaPr Date: Fri, 29 Mar 2019 01:21:09 +0000 (+0530) Subject: Replace Start Suite with Suite Setup X-Git-Tag: pre-potassium~351 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=428113d601186655ea96d8062d5e09a607916675 Replace Start Suite with Suite Setup Replaced the keyword Start Suite with Suite Setup in all netvirt suites to follow test code guidelines. Change-Id: Icfa7a1a4ab24ee1935ae09184186ac9fe74c7d65 Signed-off-by: JayaPr --- diff --git a/csit/suites/netvirt/aclservicerecovery/aclservicerecovery.robot b/csit/suites/netvirt/aclservicerecovery/aclservicerecovery.robot index 305afa669b..1ffafa3c1c 100644 --- a/csit/suites/netvirt/aclservicerecovery/aclservicerecovery.robot +++ b/csit/suites/netvirt/aclservicerecovery/aclservicerecovery.robot @@ -4,7 +4,7 @@ Documentation Test Suite for ACL Service Recovery: ... common interface to recover services in ODL. ... This feature will register ACL service for recovery ... and implement the mechanism to recover ACL service. -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown Run Keywords OpenStackOperations.OpenStack Suite Teardown ... AND SetupUtils.Setup_Logging_For_Debug_Purposes_On_List_Or_All INFO ${TEST_LOG_COMPONENTS} Test Setup Run Keywords SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing @@ -101,7 +101,7 @@ Verify ACL Flows Should Contain BuiltIn.Run Keyword If '${acl_var}'=='None' Should Contain ${output} table=${table_id} ... ELSE Should Contain ${output} ${acl_var} -Start Suite +Suite Setup [Documentation] Create Basic setup for the feature. Creates single network, subnet, two ports and two VMs. OpenStackOperations.OpenStack Suite Setup SetupUtils.Setup_Logging_For_Debug_Purposes_On_List_Or_All ${TEST_LOG_LEVEL} ${TEST_LOG_COMPONENTS} diff --git a/csit/suites/netvirt/bgpmultipath/l3vpn_bgp_multipath.robot b/csit/suites/netvirt/bgpmultipath/l3vpn_bgp_multipath.robot index 2b8059a21b..337580d1ec 100644 --- a/csit/suites/netvirt/bgpmultipath/l3vpn_bgp_multipath.robot +++ b/csit/suites/netvirt/bgpmultipath/l3vpn_bgp_multipath.robot @@ -3,7 +3,7 @@ Documentation The objective of this testsuite is to test QBGP and ODL for mu ... QBGP should be capable to receive multiple ECMP paths from different DC-GWs and ... to export the ECMP paths to ODL instead of best path selection. ... ODL should be capable to receive ECMP paths and it should program the FIB with ECMP paths. -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown Stop Suite Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Test Teardown Test Cleanup @@ -119,7 +119,7 @@ Verify that ECMP path gets withdrawn by QBGP after disabling multipath BuiltIn.Wait Until Keyword Succeeds 30s 5s Verify FIB Entry On ODL @{NETWORK_IP}[0] @{NUM_OF_ROUTES}[2] *** Keywords *** -Start Suite +Suite Setup [Documentation] Setup start suite VpnOperations.Basic Suite Setup Create Setup diff --git a/csit/suites/netvirt/elan/elan_service_recovery.robot b/csit/suites/netvirt/elan/elan_service_recovery.robot index 1dc2892db3..769f8c0242 100644 --- a/csit/suites/netvirt/elan/elan_service_recovery.robot +++ b/csit/suites/netvirt/elan/elan_service_recovery.robot @@ -1,6 +1,6 @@ *** Settings *** Documentation Test Suite for elan interface and service recovery -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown OpenStackOperations.OpenStack Suite Teardown Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Test Teardown OpenStackOperations.Get Test Teardown Debugs @@ -72,7 +72,7 @@ To Verify Elan Interface recovery OVSDB.Verify Dump Flows For Specific Table ${OS_CMP1_IP} ${ELAN_SMAC_TABLE} True ${EMPTY} dl_src=@{PORT_MAC_ADDR}[0] actions=goto_table:${ELAN_DMACTABLE} *** Keywords *** -Start Suite +Suite Setup [Documentation] Test Suite for Elan interface and service recovery OpenStackOperations.OpenStack Suite Setup Create Setup diff --git a/csit/suites/netvirt/multibgpvpn/multi_vpn_bgp.robot b/csit/suites/netvirt/multibgpvpn/multi_vpn_bgp.robot index 461fda7b3f..33736479e4 100644 --- a/csit/suites/netvirt/multibgpvpn/multi_vpn_bgp.robot +++ b/csit/suites/netvirt/multibgpvpn/multi_vpn_bgp.robot @@ -2,7 +2,7 @@ Documentation Test suite to validate multiple vpnservice functionality in an openstack integrated environment. ... The assumption of this suite is that the environment is already configured with the proper ... integration bridges and vxlan tunnels. -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown OpenStackOperations.OpenStack Suite Teardown Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Test Teardown OpenStackOperations.Get Test Teardown Debugs @@ -155,7 +155,7 @@ Verification Of Route Download With Three Vpns In SE And Qbgp With Many-Many Exp VpnOperations.Verify Flows Are Present For L3VPN ${OS_CMP1_IP} ${NET_2_VM_IPS} *** Keywords *** -Start Suite +Suite Setup [Documentation] Basic setup. VpnOperations.Basic Suite Setup BgpOperations.Start Quagga Processes On ODL ${ODL_SYSTEM_IP} diff --git a/csit/suites/netvirt/snatdnat/snat_dnat.robot b/csit/suites/netvirt/snatdnat/snat_dnat.robot index 3a93b38d7e..86949ab122 100644 --- a/csit/suites/netvirt/snatdnat/snat_dnat.robot +++ b/csit/suites/netvirt/snatdnat/snat_dnat.robot @@ -2,7 +2,7 @@ Documentation Test suite to validate network address translation(snat/dnat) functionality in openstack integrated environment. ... All the testcases were written to do flow validation since dc gateway is unavailable in csit environment. ... This suite assumes proper integration bridges and vxlan tunnels are configured in the environment. -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown Stop Suite Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Test Teardown OpenStackOperations.Get Test Teardown Debugs @@ -101,7 +101,7 @@ Verify Floating Ip Re-provision And Reachability From External Network Via Neutr BuiltIn.Should Contain ${output} ${FIP} *** Keywords *** -Start Suite +Suite Setup [Documentation] Test Suite for Subnet_Routing_and_Multicast_Deployments. VpnOperations.Basic Suite Setup BgpOperations.Start Quagga Processes On ODL ${ODL_SYSTEM_IP} diff --git a/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot b/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot index 8fb7d5a7eb..67d557cbbd 100644 --- a/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot +++ b/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot @@ -2,7 +2,7 @@ Documentation Test suite to validate subnet routing and multicast functionality in an openstack integrated environment. ... The assumption of this suite is that the environment is already configured with the proper ... integration bridges and vxlan tunnels. -Suite Setup Start Suite +Suite Setup Suite Setup Suite Teardown Stop Suite Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Test Teardown OpenStackOperations.Get Test Teardown Debugs @@ -77,7 +77,7 @@ Verify The Subnet Route For Multiple Subnets On Multi VSwitch Topology When Qbgp Verify Ping between Inter Intra And Enterprise host *** Keywords *** -Start Suite +Suite Setup [Documentation] Test Suite for Subnet_Routing_and_Multicast_Deployments. VpnOperations.Basic Suite Setup BgpOperations.Start Quagga Processes On ODL ${ODL_SYSTEM_IP}