CLOUDSTACK-2513: VPN tests refer to invalid connection.user in cloudConnection

cloudConnection object should always have "user" and "passwd" attributes.
And they are "None" while creating userAPIClient. As we already
have "user" and "password" for mgmt server.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Girish Shilamkar 2013-05-15 17:50:43 +05:30 committed by Prasanna Santhanam
parent 046580fcf1
commit 4d0cea6626
1 changed files with 2 additions and 4 deletions

View File

@ -43,10 +43,8 @@ class cloudConnection(object):
self.securityKey = securityKey
self.mgtSvr = mgtSvr
self.port = port
if user:
self.user = user
if passwd:
self.passwd = passwd
self.user = user
self.passwd = passwd
self.logging = logging
self.path = path
self.retries = 5