You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ta...@apache.org on 2015/03/31 09:09:12 UTC

git commit: updated refs/heads/master to ed979b1

Repository: cloudstack
Updated Branches:
  refs/heads/master a05f1b2fd -> ed979b159


CLOUDSTACK-8330: Adding dvs tag to test cases which can be run on DVS configuration on vmware
This closes #136

Signed-off-by: SrikanteswaraRao Talluri <ta...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ed979b15
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ed979b15
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ed979b15

Branch: refs/heads/master
Commit: ed979b159fe29b213db65077c424bba5074c51c0
Parents: a05f1b2
Author: Gaurav Aradhye <ga...@clogeny.com>
Authored: Tue Mar 31 12:27:57 2015 +0530
Committer: SrikanteswaraRao Talluri <ta...@apache.org>
Committed: Tue Mar 31 12:37:39 2015 +0530

----------------------------------------------------------------------
 .../component/test_add_remove_network.py        | 54 ++++++++++----------
 .../component/test_escalations_ipaddresses.py   |  2 +-
 .../component/test_non_contiguous_vlan.py       | 10 ++--
 3 files changed, 33 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ed979b15/test/integration/component/test_add_remove_network.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_add_remove_network.py b/test/integration/component/test_add_remove_network.py
index d003e43..fb80530 100644
--- a/test/integration/component/test_add_remove_network.py
+++ b/test/integration/component/test_add_remove_network.py
@@ -315,7 +315,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated","shared")
     def test_01_add_nw_running_vm(self, value):
         """Add network to running VM"""
@@ -347,7 +347,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated","shared")
     def test_02_add_nw_stopped_vm(self, value):
         """Add network to stopped VM"""
@@ -378,7 +378,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated","shared")
     def test_03_add_nw_multiple_times(self, value):
         """Add same network multiple times to running VM"""
@@ -419,7 +419,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated")
     def test_04_vpc_nw_running_vm(self, value):
         """Add VPC network to running VM belonging to isolated network"""
@@ -466,7 +466,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
         vpc_off.update(self.apiclient, state='Disabled')
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated")
     def test_05_add_vpc_nw_stopped_vm(self, value):
         """Add VPC network to stopped VM belonging to isolated network"""
@@ -508,7 +508,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_06_add_nw_ipaddress_running_vm(self):
         """Add network and ip address to running VM"""
 
@@ -536,7 +536,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
         self.addNetworkToVm(self.shared_network, virtual_machine,ipaddress = ipaddress)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_10_add_nw_invalid_ipaddress_running_vm(self):
         """Add network with invalid ip address to running VM"""
 
@@ -555,7 +555,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     @data("isolated","shared")
     def test_14_add_nw_different_account(self, value):
         """Add network to running VM"""
@@ -593,7 +593,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_24_add_nw_different_domain(self):
         """Add network to running VM"""
 
@@ -654,7 +654,7 @@ class TestAddNetworkToVirtualMachine(cloudstackTestCase):
             self.debug("Operation failed with exception %s" % e.exception)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_25_add_nw_above_account_limit(self):
         """Add network to VM with maximum network limit reached"""
 
@@ -813,7 +813,7 @@ class TestRemoveNetworkFromVirtualMachine(cloudstackTestCase):
                         len(self.nics))
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_07_remove_nic_running_vm(self):
         """Remove nic from running VM"""
 
@@ -855,7 +855,7 @@ class TestRemoveNetworkFromVirtualMachine(cloudstackTestCase):
         self.debug("events: %s" % events)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_08_remove_default_nic(self):
         """Test Remove default nic of running VM"""
 
@@ -878,7 +878,7 @@ class TestRemoveNetworkFromVirtualMachine(cloudstackTestCase):
             self.debug("Removing default nic of vm failed")
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_09_remove_foreign_nic(self):
         """Remove nic which does not belong to VM"""
 
@@ -999,7 +999,7 @@ class TestUpdateVirtualMachineNIC(cloudstackTestCase):
                         len(self.nics))
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_11_update_nic_running_vm(self):
         """update default nic of running VM"""
 
@@ -1064,7 +1064,7 @@ class TestUpdateVirtualMachineNIC(cloudstackTestCase):
         self.debug("events: %s" % events)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_12_make_default_nic_as_default(self):
         """Try to set default nic of vm again as default"""
 
@@ -1094,7 +1094,7 @@ class TestUpdateVirtualMachineNIC(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_13_set_foreign_nic_as_default(self):
         """set nic which does not belong to VM as its default one"""
 
@@ -1195,7 +1195,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase):
             raise Exception("Warning: Exception during cleanup : %s" % e)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_15_add_nic_wrong_vm_id(self):
         """Add network to vm with wrong vm id"""
 
@@ -1214,7 +1214,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_16_add_nic_wrong_network_id(self):
         """Add network to vm with wrong network id"""
 
@@ -1233,7 +1233,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_17_add_nic_different_zone(self):
         """Add network to vm where both belong to different zones"""
 
@@ -1332,7 +1332,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_26_add_nic_insufficient_permission(self):
         """Try to add network to vm with insufficient permission"""
 
@@ -1440,7 +1440,7 @@ class TestFailureScenariosRemoveNicFromVM(cloudstackTestCase):
             raise Exception("Warning: Exception during cleanup : %s" % e)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_19_remove_nic_wrong_vm_id(self):
         """Try to remove nic from a vm providing wrong vm id to API"""
 
@@ -1473,7 +1473,7 @@ class TestFailureScenariosRemoveNicFromVM(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_20_remove_nic_wrong_nic_id(self):
         """Try to remove nic from a vm providing wrong nic id to API"""
 
@@ -1506,7 +1506,7 @@ class TestFailureScenariosRemoveNicFromVM(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_27_remove_nic_insufficient_permission(self):
         """Try to remove nic from vm with insufficient permission"""
 
@@ -1625,7 +1625,7 @@ class TestFailureScenariosUpdateVirtualMachineNIC(cloudstackTestCase):
             raise Exception("Warning: Exception during cleanup : %s" % e)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_21_update_nic_wrong_vm_id(self):
         """update default nic of vm providing wrong vm id to the API"""
 
@@ -1670,7 +1670,7 @@ class TestFailureScenariosUpdateVirtualMachineNIC(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_22_update_nic_wrong_nic_id(self):
         """update default nic of vm providing wrong nic id to the API"""
 
@@ -1716,7 +1716,7 @@ class TestFailureScenariosUpdateVirtualMachineNIC(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_23_update_nic_incorrect_vm_state(self):
         """update default nic of vm when vm is state is not Running or Stopped"""
 
@@ -1785,7 +1785,7 @@ class TestFailureScenariosUpdateVirtualMachineNIC(cloudstackTestCase):
                     e.exception)
         return
 
-    @attr(tags = ["advanced"])
+    @attr(tags = ["advanced", "dvs"])
     def test_28_update_nic_insufficient_permission(self):
         """Try to update default nic of vm with insufficient permission"""
 

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ed979b15/test/integration/component/test_escalations_ipaddresses.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_ipaddresses.py b/test/integration/component/test_escalations_ipaddresses.py
index c60c5b6..ee940d3 100644
--- a/test/integration/component/test_escalations_ipaddresses.py
+++ b/test/integration/component/test_escalations_ipaddresses.py
@@ -153,7 +153,7 @@ class TestIpAddresses(cloudstackTestCase):
                     (exp_val, act_val))
         return return_flag
 
-    @attr(tags=["advanced"], required_hardware="true")
+    @attr(tags=["advanced", "dvs"], required_hardware="true")
     def test_01_list_ipaddresses_pagination(self):
         """
         @summary: Test List IP Addresses pagination

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ed979b15/test/integration/component/test_non_contiguous_vlan.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_non_contiguous_vlan.py b/test/integration/component/test_non_contiguous_vlan.py
index 4609af9..0f3dcb7 100644
--- a/test/integration/component/test_non_contiguous_vlan.py
+++ b/test/integration/component/test_non_contiguous_vlan.py
@@ -181,7 +181,7 @@ class TestNonContiguousVLANRanges(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["simulator", "advanced"])
+    @attr(tags = ["simulator", "advanced", "dvs"])
     def test_01_add_non_contiguous_ranges(self):
         """
         Test adding different non contiguous vlan ranges
@@ -214,7 +214,7 @@ class TestNonContiguousVLANRanges(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["simulator", "advanced"])
+    @attr(tags = ["simulator", "advanced", "dvs"])
     def test_02_add_existing_vlan_range(self):
         """
         Test adding same non contiguous range twice
@@ -236,7 +236,7 @@ class TestNonContiguousVLANRanges(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["simulator", "advanced"])
+    @attr(tags = ["simulator", "advanced", "dvs"])
     def test_03_extend_contiguous_range(self):
         """
         Test adding non contiguous range and extend it
@@ -264,7 +264,7 @@ class TestNonContiguousVLANRanges(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["simulator", "advanced"])
+    @attr(tags = ["simulator", "advanced", "dvs"])
     def test_04_remove_unused_range(self):
         """
         Test removing unused vlan range
@@ -293,7 +293,7 @@ class TestNonContiguousVLANRanges(cloudstackTestCase):
 
         return
 
-    @attr(tags = ["simulator", "advanced"])
+    @attr(tags = ["simulator", "advanced", "dvs"])
     def test_05_remove_used_range(self):
         """
         Test removing used vlan range