Add endpoint_type option for openstack clients.
Interface type internalURL' is used as a default value. Change-Id: Ia1acbfbfd2a1eecd85e5aa1d2e19665d411c4c58 Closes-Bug: #1671405
This commit is contained in:
committed by
Margarita Shakhova
parent
f106076d70
commit
cde60d2ead
@@ -24,7 +24,12 @@ cinder_client = cfg.OptGroup(name='cinder_client',
|
||||
CINDER_CLIENT_OPTS = [
|
||||
cfg.StrOpt('api_version',
|
||||
default='2',
|
||||
help='Version of Cinder API to use in cinderclient.')]
|
||||
help='Version of Cinder API to use in cinderclient.'),
|
||||
cfg.StrOpt('endpoint_type',
|
||||
default='internalURL',
|
||||
help='Type of endpoint to use in cinderclient.'
|
||||
'Supported values: internalURL, publicURL, adminURL'
|
||||
'The default is internalURL.')]
|
||||
|
||||
|
||||
def register_opts(conf):
|
||||
|
||||
Reference in New Issue
Block a user