mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3923: Fix the scripts to select default vpc offering
CLOUDSTACK-3923: Fix the scripts to select default vpc offering Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 99d8ed9b68e3d480a3d86cb8ecd19c1e9b354dff)
This commit is contained in:
parent
91bf54652e
commit
890ba45e42
|
|
@ -113,7 +113,7 @@ class TestInternalLb(cloudstackTestCase):
|
|||
self.networkOffering.update(self.apiclient, state="Enabled")
|
||||
|
||||
#2) Create VPC and network in it
|
||||
vpcOffering = VpcOffering.list(self.apiclient)
|
||||
vpcOffering = VpcOffering.list(self.apiclient,isdefault=True)
|
||||
self.assert_(vpcOffering is not None and len(vpcOffering)>0, "No VPC offerings found")
|
||||
self.services["vpc"] = {}
|
||||
self.services["vpc"]["name"] = "vpc-internallb"
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ class TestNetworkACL(cloudstackTestCase):
|
|||
self.assert_(networkOffering is not None and len(networkOffering) > 0, "No VPC based network offering")
|
||||
|
||||
# 1) Create VPC
|
||||
vpcOffering = VpcOffering.list(self.apiclient)
|
||||
vpcOffering = VpcOffering.list(self.apiclient,isdefault=True)
|
||||
self.assert_(vpcOffering is not None and len(vpcOffering)>0, "No VPC offerings found")
|
||||
self.services["vpc"] = {}
|
||||
self.services["vpc"]["name"] = "vpc-networkacl"
|
||||
|
|
|
|||
Loading…
Reference in New Issue