cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [1/4] git commit: updated refs/heads/4.2 to 19bdef0
Date Fri, 19 Jul 2013 12:15:49 GMT
Updated Branches:
  refs/heads/4.2 a98c0f5b8 -> 19bdef027


CLOUDSTACK-3644: Failed to pass apiclient to public ip delete

Test VPC Release IP assigned to LB rule fails because we don't pass in
the apiclient to it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/4.2
Commit: 19bdef027dc3b78d46df6292d3153b65214e4fe6
Parents: 6a5f13a
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Fri Jul 19 17:41:04 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Fri Jul 19 17:45:38 2013 +0530

----------------------------------------------------------------------
 .../component/test_vpc_network_lbrules.py       | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/19bdef02/test/integration/component/test_vpc_network_lbrules.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_vpc_network_lbrules.py b/test/integration/component/test_vpc_network_lbrules.py
index 2712dac..ae452c4 100644
--- a/test/integration/component/test_vpc_network_lbrules.py
+++ b/test/integration/component/test_vpc_network_lbrules.py
@@ -586,7 +586,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_03_VPC_CreateLBRuleInMultipleNetworks(self):
-        """ Test case no 212 : Create LB rules for 1 network which is part of a two/multiple
virtual networks of a
+        """ Test Create LB rules for 1 network which is part of a two/multiple virtual networks
of a
             VPC using a new Public IP Address available with the VPC when the Virtual Router
is in Running State
         """
 
@@ -671,7 +671,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_06_VPC_CreateAndDeleteLBRuleVRStopppedState(self):
-        """ Test case no 224 : Delete few(not all) LB rules for a single virtual network
of 
+        """ Test Delete few(not all) LB rules for a single virtual network of
             a VPC belonging to a single Public IP Address when the Virtual Router is in Stopped
State
         """
 
@@ -702,7 +702,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_07_VPC_CreateAndDeleteAllLBRule(self):
-        """ Test case no 215 : Delete all LB rules for a single virtual network of a
+        """ Test Delete all LB rules for a single virtual network of a
             VPC belonging to a single Public IP Address when the Virtual Router is in Running
State
         """
 
@@ -735,7 +735,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_08_VPC_CreateAndDeleteAllLBRuleVRStoppedState(self):
-        """ Test case no 225 and 226 : Delete all LB rules for a single virtual network of
a 
+        """ Test Delete all LB rules for a single virtual network of a
             VPC belonging to a single Public IP Address when the Virtual Router is in Stopped
State
         """
 
@@ -768,7 +768,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
     
     @attr(tags=["advanced", "intervlan"])
     def test_09_VPC_LBRuleCreateFailMultipleVPC(self):
-        """ Test case no 234 : User should not be allowed to create a LB rule for a VM that
belongs to a different VPC.
+        """ Test User should not be allowed to create a LB rule for a VM that belongs to
a different VPC.
         """
 
         # Validate the following
@@ -806,7 +806,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_10_VPC_FailedToCreateLBRuleNonVPCNetwork(self):
-        """ Test case no 216 and 235: User should not be allowed to create a LB rule for
a VM that does not belong to any VPC.
+        """ Test User should not be allowed to create a LB rule for a VM that does not belong
to any VPC.
         """
 
         # Validate the following
@@ -881,7 +881,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_12_VPC_LBRuleCreateFailForRouterIP(self):
-        """ Test case no 218 and 237: User should not be allowed to create a LB rule on an
Ipaddress that Source Nat enabled.
+        """ Test User should not be allowed to create a LB rule on an Ipaddress that Source
Nat enabled.
         """
 
         # Validate the following
@@ -909,7 +909,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_13_VPC_LBRuleCreateFailForPFSourceNATIP(self):
-        """ Test case no 219 : User should not be allowed to create a LB rule on an Ipaddress
that already has a PF rule.
+        """ Test User should not be allowed to create a LB rule on an Ipaddress that already
has a PF rule.
         """
 
         # Validate the following
@@ -939,7 +939,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
 
     @attr(tags=["advanced", "intervlan"])
     def test_14_VPC_LBRuleCreateFailForStaticNatRule(self):
-        """ Test case no 220 : User should not be allowed to create a LB rule on an Ipaddress
that already has a Static Nat rule.
+        """ Test User should not be allowed to create a LB rule on an Ipaddress that already
has a Static Nat rule.
         """
 
         # Validate the following
@@ -968,8 +968,8 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
         return
 
     @attr(tags=["advanced", "intervlan"])
-    def test_15_VPC_RleaseIPForLBRuleCreated(self):
-        """ Test case no 221 : Release Ip address that has a LB rule assigned to it.
+    def test_15_VPC_ReleaseIPForLBRuleCreated(self):
+        """ Test release Ip address that has a LB rule assigned to it.
         """
 
         # Validate the following
@@ -988,7 +988,7 @@ class TestVPCNetworkLBRules(cloudstackTestCase):
         vm_2 = self.create_VM_in_Network(network_1)
         public_ip_1 = self.acquire_Public_IP(network_1)
         lb_rule = self.create_LB_Rule(public_ip_1, network_1, [vm_2, vm_1])
-        public_ip_1.delete()
+        public_ip_1.delete(self.apiclient)
         lb_rules = LoadBalancerRule.list(self.apiclient,
                                         id=lb_rule.id,
                                         listall=True


Mime
View raw message