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>
This commit is contained in:
parent
2cca335856
commit
bd7bff792b
|
|
@ -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