mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
5cea73d413
commit
62a733e8cf
@ -1525,7 +1525,7 @@ class TestDomainForceRemove(cloudstackTestCase):
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
return
|
||||
|
||||
@attr(tags=["domains", "advanced", "advancedns", "simulator"], required_hardware="false")
|
||||
@attr(tags=["domains", "advanced", "advancedns", "simulator", "dvs"], required_hardware="false")
|
||||
def test_forceDeleteDomain(self):
|
||||
""" Test delete domain with force option"""
|
||||
|
||||
|
||||
@ -325,7 +325,7 @@ class TestNATRules(cloudstackTestCase):
|
||||
except Exception as e:
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced", "dvs"], required_hardware="false")
|
||||
def test_01_firewall_rules_port_fw(self):
|
||||
""""Checking firewall rules deletion after static NAT disable"""
|
||||
|
||||
|
||||
@ -718,7 +718,7 @@ class TestNetworkRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ISOLATED_NETWORK, SHARED_NETWORK, VPC_NETWORK)
|
||||
@attr(tags=["advanced"])
|
||||
@attr(tags=["advanced", "dvs"])
|
||||
def test_add_PF_rule(self, value):
|
||||
""" Add secondary IP to NIC of a VM"""
|
||||
|
||||
@ -806,7 +806,7 @@ class TestNetworkRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ISOLATED_NETWORK, SHARED_NETWORK, VPC_NETWORK)
|
||||
@attr(tags=["advanced"])
|
||||
@attr(tags=["advanced", "dvs"])
|
||||
def test_delete_PF_nat_rule(self, value):
|
||||
""" Add secondary IP to NIC of a VM"""
|
||||
|
||||
@ -891,7 +891,7 @@ class TestNetworkRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ISOLATED_NETWORK, SHARED_NETWORK, VPC_NETWORK)
|
||||
@attr(tags=["advanced"])
|
||||
@attr(tags=["advanced, "dvs"])
|
||||
def test_disassociate_ip_mapped_to_secondary_ip_through_PF_rule(
|
||||
self,
|
||||
value):
|
||||
@ -960,7 +960,7 @@ class TestNetworkRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ISOLATED_NETWORK, SHARED_NETWORK, VPC_NETWORK)
|
||||
@attr(tags=["advanced"])
|
||||
@attr(tags=["advanced", "dvs"])
|
||||
def test_add_static_nat_rule(self, value):
|
||||
""" Add secondary IP to NIC of a VM"""
|
||||
|
||||
@ -1059,7 +1059,7 @@ class TestNetworkRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ISOLATED_NETWORK, SHARED_NETWORK, VPC_NETWORK)
|
||||
@attr(tags=["advanced"])
|
||||
@attr(tags=["advanced", "dvs"])
|
||||
def test_disable_static_nat(self, value):
|
||||
""" Add secondary IP to NIC of a VM"""
|
||||
|
||||
|
||||
@ -482,7 +482,7 @@ class TestVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="false")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="false")
|
||||
def test_02_restart_vpc_no_networks(self):
|
||||
""" Test restart VPC having no networks
|
||||
"""
|
||||
@ -513,7 +513,7 @@ class TestVPC(cloudstackTestCase):
|
||||
self.validate_vpc_network(vpc, state='Enabled')
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="false")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="false")
|
||||
def test_03_restart_vpc_with_networks(self):
|
||||
""" Test restart VPC having networks
|
||||
"""
|
||||
|
||||
@ -2435,7 +2435,7 @@ class TestVPCNetworkGc(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_03_restart_vpcvr(self):
|
||||
""" Test Stop all the Vms that are part of the a Network
|
||||
(Wait for network GC).Restart VPCVR.
|
||||
|
||||
@ -491,7 +491,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"])
|
||||
@attr(tags=["advanced", "intervlan", "dvs"])
|
||||
def test_01_deploy_instance_in_network(self):
|
||||
""" Test deploy an instance in VPC networks
|
||||
"""
|
||||
@ -524,7 +524,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"])
|
||||
@attr(tags=["advanced", "intervlan", "dvs"])
|
||||
def test_02_stop_instance_in_network(self):
|
||||
""" Test stop an instance in VPC networks
|
||||
"""
|
||||
@ -566,7 +566,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_03_start_instance_in_network(self):
|
||||
""" Test start an instance in VPC networks
|
||||
"""
|
||||
@ -591,7 +591,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_04_reboot_instance_in_network(self):
|
||||
""" Test reboot an instance in VPC networks
|
||||
"""
|
||||
@ -620,7 +620,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_05_destroy_instance_in_network(self):
|
||||
""" Test destroy an instance in VPC networks
|
||||
"""
|
||||
@ -787,7 +787,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
return
|
||||
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_07_migrate_instance_in_network(self):
|
||||
""" Test migrate an instance in VPC networks
|
||||
"""
|
||||
@ -823,7 +823,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_08_user_data(self):
|
||||
""" Test user data in virtual machines
|
||||
"""
|
||||
@ -866,7 +866,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_09_meta_data(self):
|
||||
""" Test meta data in virtual machines
|
||||
"""
|
||||
@ -908,7 +908,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_10_expunge_instance_in_network(self):
|
||||
""" Test expunge an instance in VPC networks
|
||||
"""
|
||||
@ -3066,7 +3066,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_01_deploy_instance_in_network(self):
|
||||
""" Test deploy an instance in VPC networks
|
||||
"""
|
||||
@ -3100,7 +3100,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_02_stop_instance_in_network(self):
|
||||
""" Test stop an instance in VPC networks
|
||||
"""
|
||||
@ -3142,7 +3142,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_03_start_instance_in_network(self):
|
||||
""" Test start an instance in VPC networks
|
||||
"""
|
||||
@ -3193,7 +3193,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_04_reboot_instance_in_network(self):
|
||||
""" Test reboot an instance in VPC networks
|
||||
"""
|
||||
@ -3220,7 +3220,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_05_destroy_instance_in_network(self):
|
||||
""" Test destroy an instance in VPC networks
|
||||
"""
|
||||
@ -3383,7 +3383,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_06_migrate_instance_in_network(self):
|
||||
""" Test migrate an instance in VPC networks
|
||||
"""
|
||||
@ -3419,7 +3419,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
self.validate_network_rules()
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_07_user_data(self):
|
||||
""" Test user data in virtual machines
|
||||
"""
|
||||
@ -3467,7 +3467,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_08_meta_data(self):
|
||||
""" Test meta data in virtual machines
|
||||
"""
|
||||
@ -3514,7 +3514,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced","multihost", "intervlan"], required_hardware="true")
|
||||
@attr(tags=["advanced","multihost", "intervlan", "dvs"], required_hardware="true")
|
||||
def test_09_expunge_instance_in_network(self):
|
||||
""" Test expunge an instance in VPC networks
|
||||
"""
|
||||
|
||||
@ -134,7 +134,7 @@ class TestPublicIP(cloudstackTestCase):
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="false")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="false")
|
||||
def test_public_ip_admin_account(self):
|
||||
"""Test for Associate/Disassociate public IP address for admin account"""
|
||||
|
||||
@ -188,7 +188,7 @@ class TestPublicIP(cloudstackTestCase):
|
||||
self.fail("list public ip response is not empty")
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="false")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="false")
|
||||
def test_public_ip_user_account(self):
|
||||
"""Test for Associate/Disassociate public IP address for user account"""
|
||||
|
||||
@ -304,7 +304,7 @@ class TestPortForwarding(cloudstackTestCase):
|
||||
cleanup_resources(self.apiclient, self.cleanup)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="true")
|
||||
def test_01_port_fwd_on_src_nat(self):
|
||||
"""Test for port forwarding on source NAT"""
|
||||
|
||||
@ -433,7 +433,7 @@ class TestPortForwarding(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="true")
|
||||
def test_02_port_fwd_on_non_src_nat(self):
|
||||
"""Test for port forwarding on non source NAT"""
|
||||
|
||||
@ -646,7 +646,7 @@ class TestRebootRouter(cloudstackTestCase):
|
||||
]
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="true")
|
||||
def test_reboot_router(self):
|
||||
"""Test for reboot router"""
|
||||
|
||||
@ -804,7 +804,7 @@ class TestReleaseIP(cloudstackTestCase):
|
||||
def tearDown(self):
|
||||
cleanup_resources(self.apiclient, self.cleanup)
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="false")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="false")
|
||||
def test_releaseIP(self):
|
||||
"""Test for release public IP address"""
|
||||
|
||||
@ -1173,7 +1173,7 @@ class TestRouterRules(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(STATIC_NAT_RULE, NAT_RULE, LB_RULE)
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="true")
|
||||
def test_network_rules_acquired_public_ip(self, value):
|
||||
"""Test for Router rules for network rules on acquired public IP"""
|
||||
|
||||
|
||||
@ -313,7 +313,7 @@ class TestRouterServices(cloudstackTestCase):
|
||||
self.debug("Haproxy process status: %s" % res)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="false")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="false")
|
||||
def test_03_restart_network_cleanup(self):
|
||||
"""Test restart network
|
||||
"""
|
||||
@ -390,7 +390,7 @@ class TestRouterServices(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="true")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="true")
|
||||
def test_04_restart_network_wo_cleanup(self):
|
||||
"""Test restart network without cleanup
|
||||
"""
|
||||
@ -752,7 +752,7 @@ class TestRouterServices(cloudstackTestCase):
|
||||
return True
|
||||
return False
|
||||
|
||||
@attr(tags=["advanced", "advancedns", "smoke"], required_hardware="false")
|
||||
@attr(tags=["advanced", "advancedns", "smoke", "dvs"], required_hardware="false")
|
||||
def test_09_reboot_router(self):
|
||||
"""Test reboot router
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user