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 @@ glance_client = cfg.OptGroup(name='glance_client',
|
||||
GLANCE_CLIENT_OPTS = [
|
||||
cfg.StrOpt('api_version',
|
||||
default='2',
|
||||
help='Version of Glance API to use in glanceclient.')]
|
||||
help='Version of Glance API to use in glanceclient.'),
|
||||
cfg.StrOpt('endpoint_type',
|
||||
default='internalURL',
|
||||
help='Type of endpoint to use in glanceclient.'
|
||||
'Supported values: internalURL, publicURL, adminURL'
|
||||
'The default is internalURL.')]
|
||||
|
||||
|
||||
def register_opts(conf):
|
||||
|
||||
Reference in New Issue
Block a user