summaryrefslogtreecommitdiff
path: root/cinderclient/v1
diff options
context:
space:
mode:
authorVincent Hou <sbhou@cn.ibm.com>2014-11-10 23:53:45 -0800
committerVincent Hou <sbhou@cn.ibm.com>2014-12-01 02:43:52 +0000
commit7a50182fbee06d7481bf7467c2ef82c54e9fe4d1 (patch)
tree22dfc98ad0a6366890fbb3f12be47c39b8b7776a /cinderclient/v1
parent5b172959c610199fa70d283fdc38a1ac53b5fe1e (diff)
downloadpython-cinderclient-7a50182fbee06d7481bf7467c2ef82c54e9fe4d1.tar.gz
Add the parameter bypass_url to the cinder client
If the bypass_url is specified in the http client, there is no need to get it from Keystone. Change-Id: I891849f77ad2ba98a83c993b401121216c8cfff6 closes-bug: #1350702
Diffstat (limited to 'cinderclient/v1')
-rw-r--r--cinderclient/v1/client.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cinderclient/v1/client.py b/cinderclient/v1/client.py
index c11a954..19a017e 100644
--- a/cinderclient/v1/client.py
+++ b/cinderclient/v1/client.py
@@ -49,7 +49,8 @@ class Client(object):
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,
+ volume_service_name=None, bypass_url=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
@@ -95,6 +96,7 @@ class Client(object):
service_type=service_type,
service_name=service_name,
volume_service_name=volume_service_name,
+ bypass_url=bypass_url,
retries=retries,
http_log_debug=http_log_debug,
cacert=cacert,