From ae24f330ac55d320c8d4e381d5b92c5a2075bb8f Mon Sep 17 00:00:00 2001 From: Talluri Date: Wed, 4 Jul 2012 18:14:28 +0530 Subject: [PATCH] Adding the tags for different configurations in to testcase --- .../component/test_netscaler_configs.py | 20 ++++++++++++++++++- .../component/test_netscaler_lb_algo.py | 9 +++++++++ .../component/test_netscaler_lb_sticky.py | 9 +++++++++ .../component/test_resource_limits.py | 16 +++++++++++++++ test/integration/component/test_routers.py | 11 +++++----- test/integration/component/test_snapshots.py | 10 +++++----- test/integration/component/test_stopped_vm.py | 17 ++++++++++++++++ test/integration/component/test_templates.py | 6 +++++- test/integration/component/test_vmware_drs.py | 4 +++- test/integration/component/test_volumes.py | 8 +++++++- 10 files changed, 96 insertions(+), 14 deletions(-) diff --git a/test/integration/component/test_netscaler_configs.py b/test/integration/component/test_netscaler_configs.py index 99f356a8ee9..ed4c654842b 100644 --- a/test/integration/component/test_netscaler_configs.py +++ b/test/integration/component/test_netscaler_configs.py @@ -191,7 +191,7 @@ class TestAddNetScaler(cloudstackTestCase): def test_add_netscaler_device(self): """Test add netscaler device """ - + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device into a Zone by providing valid log in # credentials , public , private interface and enabling Load @@ -317,6 +317,7 @@ class TestInvalidParametersNetscaler(cloudstackTestCase): def test_invalid_cred(self): """Test add netscaler device with invalid credential """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device into a Zone by providing invalid log in @@ -385,6 +386,7 @@ class TestInvalidParametersNetscaler(cloudstackTestCase): def test_invalid_public_interface(self): """Test add netscaler device with invalid public interface """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device into a Zone by providing valid log in @@ -451,6 +453,7 @@ class TestInvalidParametersNetscaler(cloudstackTestCase): def test_invalid_private_interface(self): """Test add netscaler device with invalid private interface """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device into a Zone by providing valid log in @@ -635,6 +638,7 @@ class TestNetScalerDedicated(cloudstackTestCase): def test_netscaler_dedicated_mode(self): """Test netscaler device in dedicated mode """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device in dedicated mode. @@ -853,6 +857,7 @@ class TestNetScalerShared(cloudstackTestCase): def test_netscaler_shared_mode(self): """Test netscaler device in shared mode """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device in shared mode. @@ -1101,6 +1106,7 @@ class TestNetScalerCustomCapacity(cloudstackTestCase): def test_netscaler_custom_capacity(self): """Test netscaler device with custom capacity """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device in shared mode with capacity 3 @@ -1373,6 +1379,7 @@ class TestNetScalerNoCapacity(cloudstackTestCase): def test_netscaler_no_capacity(self): """Test netscaler device with no capacity remaining """ + tags = ["advancedns"] # Validate the following # 1. Add Netscaler device in shared mode with capacity 2 @@ -1640,6 +1647,7 @@ class TestGuestNetworkWithNetScaler(cloudstackTestCase): def test_01_guest_network(self): """Implementing Guest Network when first VM gets deployed using the network having Netscaler as LB """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -1759,6 +1767,7 @@ class TestGuestNetworkWithNetScaler(cloudstackTestCase): def test_02_guest_network_multiple(self): """Implementing Guest Network when multiple VMs gets deployed using the network having Netscaler as LB """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -1924,6 +1933,7 @@ class TestGuestNetworkWithNetScaler(cloudstackTestCase): def test_03_delete_account(self): """Delete an account that has LB rules """ + tags = ["advancedns"] # Validate the following # 1. Acquire an ipaddress. Create multiple Lb rules on this ip address @@ -2203,6 +2213,7 @@ class TestGuestNetworkShutDown(cloudstackTestCase): def test_01_stop_all_vms(self): """Test Stopping all the Vms for any account that has LB rules. """ + tags = ["advancedns"] # Validate the following # 1. Acquire IP address and create a load balancer rule @@ -2283,6 +2294,7 @@ class TestGuestNetworkShutDown(cloudstackTestCase): def test_02_start_one_vm(self): """Test LB rules on Netscaler after starting one Vm in account """ + tags = ["advancedns"] # Validate the following # 1. Acquire IP address and create a load balancer rule @@ -2367,6 +2379,7 @@ class TestGuestNetworkShutDown(cloudstackTestCase): def test_03_network_restart_without_cleanup(self): """Test LB rules on Netscaler after network restart without cleanup """ + tags = ["advancedns"] # Validate the following # 1. Acquire IP address and create a load balancer rule @@ -2428,6 +2441,7 @@ class TestGuestNetworkShutDown(cloudstackTestCase): def test_04_network_restart_with_cleanup(self): """Test LB rules on Netscaler after network restart with cleanup """ + tags = ["advancedns"] # Validate the following # 1. Acquire IP address and create a load balancer rule @@ -2603,6 +2617,7 @@ class TestServiceProvider(cloudstackTestCase): def test_01_create_nw_off_disabled(self): """Test create network with network offering disabled """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -2648,6 +2663,7 @@ class TestServiceProvider(cloudstackTestCase): def test_02_create_nw_sp_disabled(self): """Test create network when service provider is disabled """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -2680,6 +2696,7 @@ class TestServiceProvider(cloudstackTestCase): def test_03_create_lb_sp_disabled(self): """Test create LB rules when service provider is disabled """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -2916,6 +2933,7 @@ class TestDeleteNetscaler(cloudstackTestCase): def test_delete_netscaler_with_lb(self): """Test delete Netscaler when active LB rules are present """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. diff --git a/test/integration/component/test_netscaler_lb_algo.py b/test/integration/component/test_netscaler_lb_algo.py index bcff75fb4a9..4b079c890ac 100644 --- a/test/integration/component/test_netscaler_lb_algo.py +++ b/test/integration/component/test_netscaler_lb_algo.py @@ -191,6 +191,7 @@ class TestLbWithRoundRobin(cloudstackTestCase): def test_lb_with_round_robin(self): """Test Create LB rule with round robin algorithm """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -403,6 +404,7 @@ class TestLbWithLeastConn(cloudstackTestCase): def test_lb_with_least_conn(self): """Test Create LB rule with least connection algorithm """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -622,6 +624,7 @@ class TestLbWithSourceIp(cloudstackTestCase): def test_lb_with_source_ip(self): """Test Create LB rule with source Ip algorithm """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -859,6 +862,7 @@ class TestLbAlgoRrLc(cloudstackTestCase): def test_lb_round_robin_to_least_conn(self): """Test edit LB rule from round robin to least connection algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -1071,6 +1075,7 @@ class TestLbAlgoLcRr(cloudstackTestCase): def test_lb_least_conn_to_round_robin(self): """Test edit LB rule from least conn to round robin algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -1281,6 +1286,7 @@ class TestLbAlgoRrSb(cloudstackTestCase): def test_lb_round_robin_to_source(self): """Test edit LB rule from round robin to source algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -1493,6 +1499,7 @@ class TestLbAlgoSbRr(cloudstackTestCase): def test_lb_source_to_round_robin(self): """Test edit LB rule from source to round robin algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -1708,6 +1715,7 @@ class TestLbAlgoSbLc(cloudstackTestCase): def test_lb_source_to_least_conn(self): """Test edit LB rule from source to least conn algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created @@ -1921,6 +1929,7 @@ class TestLbAlgoLcSb(cloudstackTestCase): def test_lb_leastconn_to_source(self): """Test edit LB rule from round robin to source algo """ + tags = ["advancedns"] # Validate the following # 1. Deploy the first VM using a network from the above created diff --git a/test/integration/component/test_netscaler_lb_sticky.py b/test/integration/component/test_netscaler_lb_sticky.py index 47f5cd1743d..8a420ae838e 100644 --- a/test/integration/component/test_netscaler_lb_sticky.py +++ b/test/integration/component/test_netscaler_lb_sticky.py @@ -218,6 +218,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_01_source_based_roundrobin(self): """Test Create a "SourceBased" stick policy for a Lb rule with "RoundRobin" algorithm """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -305,6 +306,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_02_source_based_source_algo(self): """Test Create a "SourceBased" stick policy for a Lb rule with "Source" algorithm """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -393,6 +395,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_03_source_based_leastconn(self): """Test Create a "SourceBased" stick policy for a Lb rule with leastconn algo """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -481,6 +484,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_04_lbcookie_based_roundrobin(self): """Test Create a "LBCookie" stick policy for a Lb rule with roundrobin algo """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -571,6 +575,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_05_lbcookie_source_algo(self): """Test Create a "LBCookie" stick policy for a Lb rule with "Source" algorithm """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -661,6 +666,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_06_lbcookie_leastconn(self): """Test Create a "LBCookie" stick policy for a Lb rule with leastconn algo """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -751,6 +757,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_07_appcookie_based_roundrobin(self): """Test Create a "AppCookie" stick policy for a Lb rule with roundrobin algo """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -841,6 +848,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_08_appcookie_source_algo(self): """Test Create a "AppCookie" stick policy for a Lb rule with "Source" """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. @@ -931,6 +939,7 @@ class TestLbStickyPolicy(cloudstackTestCase): def test_09_appcookie_leastconn(self): """Test Create a "AppCookie" stick policy for a Lb rule with leastconn """ + tags = ["advancedns"] # Validate the following # 1. Configure Netscaler for load balancing. diff --git a/test/integration/component/test_resource_limits.py b/test/integration/component/test_resource_limits.py index c7a0c6c8c5b..61a91c8b153 100644 --- a/test/integration/component/test_resource_limits.py +++ b/test/integration/component/test_resource_limits.py @@ -150,6 +150,7 @@ class TestResourceLimitsAccount(cloudstackTestCase): def test_01_vm_per_account(self): """Test VM limit per account """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set user_vm=1 limit for account 1. @@ -242,6 +243,7 @@ class TestResourceLimitsAccount(cloudstackTestCase): def test_02_publicip_per_account(self): """Test Public IP limit per account """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set Public_IP= 2 limit for account 1. @@ -384,6 +386,7 @@ class TestResourceLimitsAccount(cloudstackTestCase): def test_03_snapshots_per_account(self): """Test Snapshot limit per account """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set snapshot= 2 limit for account 1. @@ -539,6 +542,7 @@ class TestResourceLimitsAccount(cloudstackTestCase): def test_04_volumes_per_account(self): """Test Volumes limit per account """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set volumes=2 limit for account 1. @@ -680,6 +684,7 @@ class TestResourceLimitsAccount(cloudstackTestCase): def test_05_templates_per_account(self): """Test Templates limit per account """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set templates=1 limit for account 1. @@ -909,6 +914,7 @@ class TestResourceLimitsDomain(cloudstackTestCase): def test_01_vm_per_domain(self): """Test VM limit per domain """ + tags = ["advanced","advancedns"] # Validate the following # 1. Set max VM per domain to 2 @@ -974,6 +980,7 @@ class TestResourceLimitsDomain(cloudstackTestCase): def test_01_publicip_per_domain(self): """Test Public IP limit per domain """ + tags = ["advanced","advancedns"] # Validate the following # 1. set max no of IPs per domain to 2. @@ -1043,6 +1050,7 @@ class TestResourceLimitsDomain(cloudstackTestCase): def test_03_snapshots_per_domain(self): """Test Snapshot limit per domain """ + tags = ["advanced","advancedns"] # Validate the following # 1. set max no of snapshots per domain to 1. @@ -1125,6 +1133,7 @@ class TestResourceLimitsDomain(cloudstackTestCase): def test_04_volumes_per_domain(self): """Test Volumes limit per domain """ + tags = ["advanced","advancedns"] # Validate the following # 1. set max no of volume per domain to 1. @@ -1177,6 +1186,7 @@ class TestResourceLimitsDomain(cloudstackTestCase): def test_05_templates_per_domain(self): """Test Templates limit per domain """ + tags = ["advanced","advancedns"] # Validate the following # 1. set max no of templates per domain to 2. @@ -1322,6 +1332,7 @@ class TestResources(cloudstackTestCase): def test_01_zones(self): """Check the status of zones""" + tags = ["advanced","advancedns"] # Validate the following # 1. List zones @@ -1347,6 +1358,7 @@ class TestResources(cloudstackTestCase): def test_02_pods(self): """Check the status of pods""" + tags = ["advanced","advancedns"] # Validate the following # 1. List pods @@ -1372,6 +1384,7 @@ class TestResources(cloudstackTestCase): def test_03_clusters(self): """Check the status of clusters""" + tags = ["advanced","advancedns"] # Validate the following # 1. List clusters @@ -1397,6 +1410,7 @@ class TestResources(cloudstackTestCase): def test_04_hosts(self): """Check the status of hosts""" + tags = ["advanced","advancedns"] # Validate the following # 1. List hosts with type=Routing @@ -1423,6 +1437,7 @@ class TestResources(cloudstackTestCase): def test_05_storage_pools(self): """Check the status of Storage pools""" + tags = ["advanced","advancedns"] # Validate the following # 1. List storage pools for the zone @@ -1448,6 +1463,7 @@ class TestResources(cloudstackTestCase): def test_06_secondary_storage(self): """Check the status of secondary storage""" + tags = ["advanced","advancedns"] # Validate the following # 1. List secondary storage diff --git a/test/integration/component/test_routers.py b/test/integration/component/test_routers.py index 2b0ca7309e6..a6692dc9ae5 100644 --- a/test/integration/component/test_routers.py +++ b/test/integration/component/test_routers.py @@ -167,7 +167,7 @@ class TestRouterServices(cloudstackTestCase): def test_01_AdvancedZoneRouterServices(self): """Test advanced zone router services """ - + tags = ["advanced"] # Validate the following: # 1. Verify that list of services provided by this network are running # a. DNS @@ -313,7 +313,7 @@ class TestRouterServices(cloudstackTestCase): def test_02_NetworkGarbageCollection(self): """Test network garbage collection """ - + tags = ["advanced"] # Validate the following # 1. wait for router to start and guest network to be created # a.listRouters account=user, domainid=1 (router state=Running) @@ -471,6 +471,7 @@ class TestRouterServices(cloudstackTestCase): def test_03_RouterStartOnVmDeploy(self): """Test router start on VM deploy """ + tags = ["advanced"] # Validate the following # 1. deployVirtualMachine in the account # 2. listVirtualMachines account=user, domainid=1 @@ -646,7 +647,7 @@ class TestRouterStopCreatePF(cloudstackTestCase): def test_01_RouterStopCreatePF(self): """Test router stop create port forwarding """ - + tags = ["advanced"] # validate the following # 1. wait for router to start, guest network to be implemented and # VM to report Running @@ -855,7 +856,7 @@ class TestRouterStopCreateLB(cloudstackTestCase): def test_01_RouterStopCreateLB(self): """Test router stop create Load balancing """ - + tags = ["advanced"] # validate the following # 1. listLoadBalancerRules (publicipid=ipaddressid of source NAT) # 2. rule should be for port 2222 as applied and @@ -1065,7 +1066,7 @@ class TestRouterStopCreateFW(cloudstackTestCase): def test_01_RouterStopCreateFW(self): """Test router stop create Firewall rule """ - + tags = ["advanced"] # validate the following # 1. 1. listFirewallRules (filter by ipaddressid of sourcenat) # 2. rule should be for ports 1-600 and in state=Active diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py index 05585b5ae68..a609602e2cd 100644 --- a/test/integration/component/test_snapshots.py +++ b/test/integration/component/test_snapshots.py @@ -162,7 +162,7 @@ class TestCreateVMsnapshotTemplate(cloudstackTestCase): def test_01_createVM_snapshotTemplate(self): """Test create VM, Snapshot and Template """ - + tags = ["advanced","advancedns"] # Validate the following # 1. Deploy VM using default template, small service offering # and small data disk offering. @@ -470,7 +470,7 @@ class TestAccountSnapshotClean(cloudstackTestCase): def test_02_accountSnapshotClean(self): """Test snapshot cleanup after account deletion """ - + tags = ["advanced","advancedns"] # Validate the following # 1. listAccounts API should list out the newly created account # 2. listVirtualMachines() command should return the deployed VM. @@ -801,7 +801,7 @@ class TestSnapshotDetachedDisk(cloudstackTestCase): def test_03_snapshot_detachedDisk(self): """Test snapshot from detached disk """ - + tags = ["advanced","advancedns"] # Validate the following # 1. login in VM and write some data on data disk(use fdisk to # partition datadisk,fdisk /dev/sdb, and make filesystem using @@ -1073,7 +1073,7 @@ class TestSnapshotLimit(cloudstackTestCase): def test_04_snapshot_limit(self): """Test snapshot limit in snapshot policies """ - + tags = ["advanced","advancedns"] # Validate the following # 1. Perform hourly recurring snapshot on the root disk of VM and keep # the maxsnapshots as 1 @@ -1325,7 +1325,7 @@ class TestSnapshotEvents(cloudstackTestCase): def test_05_snapshot_events(self): """Test snapshot events """ - + tags = ["advanced","advancedns"] # Validate the following # 1. Perform snapshot on the root disk of this VM and check the events/alerts. # 2. delete the snapshots and check the events/alerts diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index 2ff2f811148..ba20f5f2927 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -169,6 +169,7 @@ class TestDeployVM(cloudstackTestCase): def test_01_deploy_vm_no_startvm(self): """Test Deploy Virtual Machine with no startVM parameter """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm without specifying the startvm parameter @@ -222,6 +223,7 @@ class TestDeployVM(cloudstackTestCase): def test_02_deploy_vm_startvm_true(self): """Test Deploy Virtual Machine with startVM=true parameter """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=true @@ -276,6 +278,7 @@ class TestDeployVM(cloudstackTestCase): def test_03_deploy_vm_startvm_false(self): """Test Deploy Virtual Machine with startVM=false parameter """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false @@ -367,6 +370,7 @@ class TestDeployVM(cloudstackTestCase): def test_04_deploy_startvm_false_attach_volume(self): """Test Deploy Virtual Machine with startVM=false and attach volume """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false. Attach volume to the instance @@ -433,6 +437,7 @@ class TestDeployVM(cloudstackTestCase): """Test Deploy Virtual Machine with startVM=false and change service offering """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false. Attach volume to the instance @@ -545,6 +550,7 @@ class TestDeployVM(cloudstackTestCase): """Test Deploy Virtual Machine with startVM=false and attach detach volumes """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false. Attach volume to the instance @@ -628,6 +634,7 @@ class TestDeployVM(cloudstackTestCase): def test_07_deploy_startvm_attach_iso(self): """Test Deploy Virtual Machine with startVM=false and attach ISO """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false. Attach volume to the instance @@ -719,6 +726,7 @@ class TestDeployVM(cloudstackTestCase): """Test Deploy Virtual Machine with startVM=false and attach volume already attached to different machine """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=false. Attach volume to the instance @@ -918,6 +926,7 @@ class TestDeployHaEnabledVM(cloudstackTestCase): def test_01_deploy_ha_vm_startvm_false(self): """Test Deploy HA enabled Virtual Machine with startvm=false """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deployHA enabled Vm with the startvm parameter = false @@ -966,6 +975,7 @@ class TestDeployHaEnabledVM(cloudstackTestCase): def test_02_deploy_ha_vm_from_iso(self): """Test Deploy HA enabled Virtual Machine from ISO """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deployHA enabled Vm using ISO with the startvm parameter=true @@ -1030,6 +1040,7 @@ class TestDeployHaEnabledVM(cloudstackTestCase): def test_03_deploy_ha_vm_iso_startvm_false(self): """Test Deploy HA enabled Virtual Machine from ISO with startvm=false """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deployHA enabled Vm using ISO with the startvm parameter=false @@ -1146,6 +1157,7 @@ class TestRouterStateAfterDeploy(cloudstackTestCase): def test_01_deploy_vm_no_startvm(self): """Test Deploy Virtual Machine with no startVM parameter """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. deploy Vm without specifying the startvm parameter @@ -1360,6 +1372,7 @@ class TestDeployVMBasicZone(cloudstackTestCase): def test_01_deploy_vm_startvm_true(self): """Test Deploy Virtual Machine with startVM=true parameter """ + tags = ["eip","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=true @@ -1418,6 +1431,7 @@ class TestDeployVMBasicZone(cloudstackTestCase): def test_02_deploy_vm_startvm_false(self): """Test Deploy Virtual Machine with startVM=true parameter """ + tags = ["eip","basic","sg"] # Validate the following: # 1. deploy Vm with the startvm=true @@ -1576,6 +1590,7 @@ class TestDeployVMFromTemplate(cloudstackTestCase): """Test Deploy Virtual Machine with startVM=false & enabledpassword in template """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following: # 1. Create the password enabled template @@ -1712,6 +1727,7 @@ class TestVMAccountLimit(cloudstackTestCase): def test_vm_per_account(self): """Test VM limit per account """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following # 1. Set the resource limit for VM per account. @@ -1827,6 +1843,7 @@ class TestUploadAttachVolume(cloudstackTestCase): def test_upload_attach_volume(self): """Test Upload volume and attach to VM in stopped state """ + tags = ["advanced","eip","advancedns","basic","sg"] # Validate the following # 1. Upload the volume using uploadVolume API call diff --git a/test/integration/component/test_templates.py b/test/integration/component/test_templates.py index afad16c04b7..f18cb08531d 100644 --- a/test/integration/component/test_templates.py +++ b/test/integration/component/test_templates.py @@ -159,7 +159,7 @@ class TestCreateTemplate(cloudstackTestCase): def test_01_create_template(self): """Test create public & private template """ - + tags = ["advanced","advancedns"] # Validate the following: # 1. Upload a templates in raw img format. Create a Vm instances from # raw img template. @@ -375,6 +375,7 @@ class TestTemplates(cloudstackTestCase): def test_01_create_template_volume(self): """Test Create template from volume """ + tags = ["advanced","advancedns"] # Validate the following: # 1. Deploy new VM using the template created from Volume @@ -413,6 +414,7 @@ class TestTemplates(cloudstackTestCase): def test_02_copy_template(self): """Test for copy template from one zone to another""" + tags = ["advanced","advancedns"] # Validate the following # 1. copy template should be successful and @@ -471,6 +473,7 @@ class TestTemplates(cloudstackTestCase): def test_03_delete_template(self): """Test Delete template """ + tags = ["advanced","advancedns"] # Validate the following: # 1. Create a template and verify it is shown in list templates response @@ -525,6 +528,7 @@ class TestTemplates(cloudstackTestCase): def test_04_template_from_snapshot(self): """Create Template from snapshot """ + tags = ["advanced","advancedns"] # Validate the following # 2. Snapshot the Root disk diff --git a/test/integration/component/test_vmware_drs.py b/test/integration/component/test_vmware_drs.py index ec0228bf62f..e00ca70f934 100644 --- a/test/integration/component/test_vmware_drs.py +++ b/test/integration/component/test_vmware_drs.py @@ -162,7 +162,7 @@ class TestVMPlacement(cloudstackTestCase): - Another host should have some capacity remaining - DRS Cluster is configured in "Fully automated" mode """ - + tags = ["advanced","vmware","eip","advancedns","basic","sg"] # Validate the following # 1. Create a new VM in a host which is almost fully utilized # 2 Automatically places VM on the other host @@ -290,6 +290,7 @@ class TestAntiAffinityRules(cloudstackTestCase): - Add host names to host_1,host_2 and IDs of VM 1,2 in the settings class "anti_affinity" above. """ + tags = ["advanced","vmware","eip","advancedns","basic","sg"] # Validate the following # 1. Deploy VMs on host 1 and 2 @@ -490,6 +491,7 @@ class TestAffinityRules(cloudstackTestCase): - Add host names to host_1,host_2 and IDs of VM 1,2 in the settings class "affinity" above. """ + tags = ["advanced","vmware","eip","advancedns","basic","sg"] # Validate the following # 1. Deploy VMs 2 VMs on same hosts diff --git a/test/integration/component/test_volumes.py b/test/integration/component/test_volumes.py index 4caee7d170f..1b905d4d813 100644 --- a/test/integration/component/test_volumes.py +++ b/test/integration/component/test_volumes.py @@ -140,7 +140,7 @@ class TestAttachVolume(cloudstackTestCase): def test_01_volume_attach(self): """Test Attach volumes (max capacity) """ - + tags = ["advanced","advancedns"] # Validate the following # 1. Deploy a vm and create 5 data disk # 2. Attach all the created Volume to the vm. @@ -292,6 +292,7 @@ class TestAttachVolume(cloudstackTestCase): def test_02_volume_attach_max(self): """Test attach volumes (more than max) to an instance """ + tags = ["advanced","advancedns"] # Validate the following # 1. Attach one more data volume to VM (Already 5 attached) @@ -422,6 +423,7 @@ class TestAttachDetachVolume(cloudstackTestCase): def test_01_volume_attach_detach(self): """Test Volume attach/detach to VM (5 data volumes) """ + tags = ["advanced","advancedns"] # Validate the following # 1. Deploy a vm and create 5 data disk @@ -669,6 +671,7 @@ class TestAttachVolumeISO(cloudstackTestCase): def test_01_volume_iso_attach(self): """Test Volumes and ISO attach """ + tags = ["advanced","advancedns"] # Validate the following # 1. Create and attach 5 data volumes to VM @@ -864,6 +867,7 @@ class TestVolumes(cloudstackTestCase): def test_01_attach_volume(self): """Attach a created Volume to a Running VM """ + tags = ["advanced","advancedns"] # Validate the following # 1. Create a data volume. # 2. List Volumes should not have vmname and virtualmachineid fields in @@ -947,6 +951,7 @@ class TestVolumes(cloudstackTestCase): def test_02_detach_volume(self): """Detach a Volume attached to a VM """ + tags = ["advanced","advancedns"] # Validate the following # 1. Data disk should be detached from instance @@ -994,6 +999,7 @@ class TestVolumes(cloudstackTestCase): def test_03_delete_detached_volume(self): """Delete a Volume unattached to an VM """ + tags = ["advanced","advancedns"] # Validate the following # 1. volume should be deleted successfully and listVolume should not # contain the deleted volume details.