cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [01/24] git commit: updated refs/heads/4.4 to e33d4a5
Date Mon, 28 Jul 2014 15:44:28 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 798a6aa2e -> e33d4a573


Fixes for BVT and Regression run failures against 4.4 CS

(cherry picked from commit db153062dbe356021924d9b3441b9d2561d06283)


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

Branch: refs/heads/4.4
Commit: 5efb635980e3458ddaaf98e08cbcba919a0ab309
Parents: 04cac3f
Author: SrikanteswaraRao Talluri <talluri@apache.org>
Authored: Wed Apr 30 11:03:40 2014 +0530
Committer: Daan Hoogland <daan@onecht.net>
Committed: Mon Jul 28 17:43:13 2014 +0200

----------------------------------------------------------------------
 .../component/test_advancedsg_networks.py       |  8 +++----
 .../component/test_dynamic_compute_offering.py  | 22 ++++++++++----------
 .../component/test_multiple_ips_per_nic.py      |  8 +++----
 tools/marvin/marvin/config/test_data.py         | 20 ++++++++++++++++++
 4 files changed, 39 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5efb6359/test/integration/component/test_advancedsg_networks.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_advancedsg_networks.py b/test/integration/component/test_advancedsg_networks.py
index f9155ed..2794f96 100644
--- a/test/integration/component/test_advancedsg_networks.py
+++ b/test/integration/component/test_advancedsg_networks.py
@@ -1307,11 +1307,11 @@ class TestNetworksInAdvancedSG_VmOperations(cloudstackTestCase):
                                                   zoneid=self.zone.id)
 
         # Creaint user API client of account 1
-        api_client_account_1 = self.testClient.createUserApiClient(UserName=account_1.name,
+        api_client_account_1 = self.testClient.getUserApiClient(UserName=account_1.name,
                                                          DomainName=account_1.domain)
 
         # Creaint user API client of account 2
-        api_client_account_2 = self.testClient.createUserApiClient(UserName=account_2.name,
+        api_client_account_2 = self.testClient.getUserApiClient(UserName=account_2.name,
                                                          DomainName=account_2.domain)
 
         self.debug("Creating virtual machine in account %s with account specific shared network
%s" %
@@ -1419,11 +1419,11 @@ class TestNetworksInAdvancedSG_VmOperations(cloudstackTestCase):
         self.cleanup_networks.append(shared_network_domain_2)
 
         # Creaint user API client of account 1
-        api_client_domain_1 = self.testClient.createUserApiClient(UserName=account_1.name,
+        api_client_domain_1 = self.testClient.getUserApiClient(UserName=account_1.name,
                                                          DomainName=account_1.domain)
 
         # Creaint user API client of account 2
-        api_client_domain_2 = self.testClient.createUserApiClient(UserName=account_2.name,
+        api_client_domain_2 = self.testClient.getUserApiClient(UserName=account_2.name,
                                                          DomainName=account_2.domain)
 
         self.debug("Creating virtual machine in domain %s with domain wide shared network
%s" %

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5efb6359/test/integration/component/test_dynamic_compute_offering.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_dynamic_compute_offering.py b/test/integration/component/test_dynamic_compute_offering.py
index e6d0dbc..8cb6eb1 100644
--- a/test/integration/component/test_dynamic_compute_offering.py
+++ b/test/integration/component/test_dynamic_compute_offering.py
@@ -225,7 +225,7 @@ class TestDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -287,7 +287,7 @@ class TestDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account and its api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -354,7 +354,7 @@ class TestDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -502,7 +502,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -567,7 +567,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -651,7 +651,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -719,7 +719,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -795,7 +795,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create Account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -855,7 +855,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Crate account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -930,7 +930,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)
@@ -995,7 +995,7 @@ class TestScaleVmDynamicServiceOffering(cloudstackTestCase):
 
         # Create account and api client
         self.account = Account.create(self.apiclient,self.services["account"],domainid=self.domain.id,
admin=isadmin)
-        apiclient = self.testClient.createUserApiClient(
+        apiclient = self.testClient.getUserApiClient(
                                     UserName=self.account.name,
                                     DomainName=self.account.domain)
         self.cleanup.append(self.account)

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5efb6359/test/integration/component/test_multiple_ips_per_nic.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_multiple_ips_per_nic.py b/test/integration/component/test_multiple_ips_per_nic.py
index 2739637..03ebb83 100644
--- a/test/integration/component/test_multiple_ips_per_nic.py
+++ b/test/integration/component/test_multiple_ips_per_nic.py
@@ -149,7 +149,7 @@ class TestBasicOperations(cloudstackTestCase):
         cls.shared_network_offering = CreateEnabledNetworkOffering(cls.api_client,
                                                                       cls.services["shared_network_offering"])
         cls._cleanup.append(cls.shared_network_offering)
-
+        cls.mode = cls.zone.networktype
         if cls.mode == "advanced":
             cls.isolated_network_offering = CreateEnabledNetworkOffering(cls.api_client,
                                                                       cls.services["isolated_network_offering"])
@@ -426,7 +426,7 @@ class TestBasicOperations(cloudstackTestCase):
         self.cleanup.append(self.account)
         self.cleanup.append(child_domain)
 
-        apiclient = self.testClient.createUserApiClient(UserName=self.account.name, DomainName=self.account.domain)
+        apiclient = self.testClient.getUserApiClient(UserName=self.account.name, DomainName=self.account.domain)
 
         if(shouldTestBeSkipped(networkType=value, zoneType=self.mode)):
             self.skipTest("Skipping test as %s network is not supported in basic zone" %
value)
@@ -499,7 +499,7 @@ class TestNetworkRules(cloudstackTestCase):
 
         cls.shared_network_offering = CreateEnabledNetworkOffering(cls.api_client, cls.services["shared_network_offering"])
         cls._cleanup.append(cls.shared_network_offering)
-
+        cls.mode = cls.zone.networktype
         if cls.mode == "advanced":
             cls.isolated_network_offering = CreateEnabledNetworkOffering(cls.api_client,
cls.services["isolated_network_offering"])
             cls._cleanup.append(cls.isolated_network_offering)
@@ -873,7 +873,7 @@ class TestVmNetworkOperations(cloudstackTestCase):
 
         cls.shared_network_offering = CreateEnabledNetworkOffering(cls.api_client, cls.services["shared_network_offering"])
         cls._cleanup.append(cls.shared_network_offering)
-
+        cls.mode = cls.zone.networktype
         if cls.mode == "advanced":
             cls.isolated_network_offering = CreateEnabledNetworkOffering(cls.api_client,
cls.services["isolated_network_offering"])
             cls._cleanup.append(cls.isolated_network_offering)

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5efb6359/tools/marvin/marvin/config/test_data.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/config/test_data.py b/tools/marvin/marvin/config/test_data.py
index 8829f13..b862205 100644
--- a/tools/marvin/marvin/config/test_data.py
+++ b/tools/marvin/marvin/config/test_data.py
@@ -149,6 +149,26 @@ test_data = {
             "PortForwarding": 'VirtualRouter',
         },
     },
+    "nw_off_isolated_netscaler": {
+        "name": "Network offering-ns services",
+        "displaytext": "Network offering-ns services",
+        "guestiptype": "Isolated",
+        "supportedservices":
+        "Dhcp,Dns,SourceNat,PortForwarding,Vpn,Firewall,Lb,UserData,StaticNat",
+        "traffictype": "GUEST",
+        "availability": "Optional'",
+        "serviceProviderList": {
+            "Dhcp": "VirtualRouter",
+            "Dns": "VirtualRouter",
+            "SourceNat": "VirtualRouter",
+            "PortForwarding": "VirtualRouter",
+            "Vpn": "VirtualRouter",
+            "Firewall": "VirtualRouter",
+            "Lb": "NetScaler",
+            "UserData": "VirtualRouter",
+            "StaticNat": "VirtualRouter"
+        }
+    },
     "nw_off_isolated_persistent": {
         "name": 'Test Nw off isolated persistent',
         "displaytext": 'Test Nw off isolated persistent',


Mime
View raw message