mirror of https://github.com/apache/cloudstack.git
VpcVirtualRouter is not enabled always.
This commit is contained in:
parent
046f2d786f
commit
8a2135e3fa
|
|
@ -216,7 +216,7 @@ class deployDataCenters():
|
|||
pnetprov.name = "VpcVirtualRouter"
|
||||
pnetprovres = self.apiClient.listNetworkServiceProviders(pnetprov)
|
||||
|
||||
if len(pnetprovres) > 0:
|
||||
if pnetprovres and len(pnetprovres) > 0:
|
||||
vpcvrprov = listVirtualRouterElements.listVirtualRouterElementsCmd()
|
||||
vpcvrprov.nspid = pnetprovres[0].id
|
||||
vpcvrprovresponse = self.apiClient.listVirtualRouterElements(vpcvrprov)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ class MarvinPlugin(Plugin):
|
|||
cfg = nose.config.Config()
|
||||
cfg.logStream = self.result_stream
|
||||
cfg.debugLog = self.debug_stream
|
||||
cfg.workingDir = options.test_dir
|
||||
|
||||
self.testrunner = nose.core.TextTestRunner(stream=self.result_stream, descriptions=True, verbosity=2, config=config)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue