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:
SrikanteswaraRao Talluri 2013-07-30 23:51:06 +05:30 committed by Prasanna Santhanam
parent 2cca335856
commit bd7bff792b
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"