Merge "Add ssl support for sahara client"

This commit is contained in:
Jenkins 2015-03-24 18:01:56 +00:00 committed by Gerrit Code Review
commit 14f02e69f7
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ class SaharaClientPlugin(client_plugin.ClientPlugin):
'input_auth_token': self.auth_token,
'auth_url': con.auth_url,
'project_name': con.tenant,
'sahara_url': endpoint
'sahara_url': endpoint,
'insecure': self._get_client_option('sahara', 'insecure'),
'cacert': self._get_client_option('sahara', 'ca_file')
}
client = sahara_client.Client('1.1', **args)
return client