diff options
Diffstat (limited to 'cinderclient/v1/client.py')
-rw-r--r-- | cinderclient/v1/client.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cinderclient/v1/client.py b/cinderclient/v1/client.py index 9b375b8..c11a954 100644 --- a/cinderclient/v1/client.py +++ b/cinderclient/v1/client.py @@ -44,14 +44,14 @@ class Client(object): """ - def __init__(self, username, api_key, project_id=None, auth_url='', - insecure=False, timeout=None, tenant_id=None, + def __init__(self, username=None, api_key=None, project_id=None, + auth_url='', insecure=False, timeout=None, tenant_id=None, proxy_tenant_id=None, proxy_token=None, region_name=None, endpoint_type='publicURL', extensions=None, service_type='volume', service_name=None, - volume_service_name=None, retries=None, - http_log_debug=False, cacert=None, - auth_system='keystone', auth_plugin=None, session=None): + volume_service_name=None, retries=None, http_log_debug=False, + cacert=None, auth_system='keystone', auth_plugin=None, + session=None, **kwargs): # FIXME(comstud): Rename the api_key argument above when we # know it's not being used as keyword argument password = api_key @@ -100,7 +100,8 @@ class Client(object): cacert=cacert, auth_system=auth_system, auth_plugin=auth_plugin, - session=session) + session=session, + **kwargs) def authenticate(self): """ |