Set defaults for endpoint_type and service_type

Change-Id: I2fd3c45b3436e876b1f1873fbdb9dc6f77140323
This commit is contained in:
Endre Karlson 2014-11-11 23:42:23 +01:00
parent 0660919b1f
commit 985f4c1eb6

View File

@ -31,8 +31,9 @@ class Client(object):
domain_id=None, project_name=None,
project_id=None, project_domain_name=None,
project_domain_id=None, auth_url=None, token=None,
endpoint_type=None, region_name=None, service_type=None,
insecure=False, verify=None, session=None, auth=None):
endpoint_type='publicURL', region_name=None,
service_type='dns', insecure=False, verify=None, session=None,
auth=None):
"""
:param endpoint: Endpoint URL
:param token: A token instead of username / password