mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-5443: Fixed the issue.
This commit is contained in:
parent
2b1d997728
commit
e498bf00d4
@ -64,7 +64,7 @@ class cloudConnection(object):
|
||||
def __copy__(self):
|
||||
return cloudConnection(self.mgtDetails,
|
||||
self.asyncTimeout,
|
||||
self.logging,
|
||||
self.logger,
|
||||
self.path)
|
||||
|
||||
def poll(self, jobid, response):
|
||||
|
||||
@ -33,7 +33,7 @@ from marvin.integration.lib.utils import random_gen
|
||||
Server. Retrieved from configuration file.
|
||||
asyncTimeout :
|
||||
defaultWorkerThreads :
|
||||
logging :
|
||||
logger : provides logging facilities for this library
|
||||
'''
|
||||
|
||||
|
||||
@ -41,12 +41,12 @@ class cloudstackTestClient(object):
|
||||
def __init__(self, mgmtDetails,
|
||||
dbSvrDetails, asyncTimeout=3600,
|
||||
defaultWorkerThreads=10,
|
||||
logging=None):
|
||||
logger=None):
|
||||
self.mgmtDetails = mgmtDetails
|
||||
self.connection = \
|
||||
cloudstackConnection.cloudConnection(self.mgmtDetails,
|
||||
asyncTimeout,
|
||||
logging)
|
||||
logger)
|
||||
self.apiClient =\
|
||||
cloudstackAPIClient.CloudStackAPIClient(self.connection)
|
||||
self.dbConnection = None
|
||||
@ -157,7 +157,7 @@ class cloudstackTestClient(object):
|
||||
newUserConnection =\
|
||||
cloudstackConnection.cloudConnection(mgtDetails,
|
||||
self.connection.asyncTimeout,
|
||||
self.connection.logging)
|
||||
self.connection.logger)
|
||||
self.userApiClient =\
|
||||
cloudstackAPIClient.CloudStackAPIClient(newUserConnection)
|
||||
self.userApiClient.connection = newUserConnection
|
||||
|
||||
@ -510,7 +510,7 @@ class deployDataCenters(object):
|
||||
cloudstackTestClient.\
|
||||
cloudstackTestClient(mgtDetails,
|
||||
dbSvrDetails,
|
||||
logging=self.tcRunLogger)
|
||||
logger=self.tcRunLogger)
|
||||
|
||||
if mgtDetails.apiKey is None:
|
||||
mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey()
|
||||
@ -519,7 +519,7 @@ class deployDataCenters(object):
|
||||
cloudstackTestClient.cloudstackTestClient(
|
||||
mgtDetails,
|
||||
dbSvrDetails,
|
||||
logging=self.tcRunLogger)
|
||||
logger=self.tcRunLogger)
|
||||
|
||||
self.apiClient = self.testClient.getApiClient()
|
||||
"""set hypervisor"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user