Replace default glance endpoint type

The default glance endpoint type is publicURL in glanceclient.
This patch replaces default glance endpoint type from
internalURL to publicURL.

Change-Id: I39451ba89f191693475a694bd5c9045bf3bf539a
Related-Bug: #1686298
This commit is contained in:
Hidekazu Nakamura
2017-06-29 16:42:39 +09:00
parent 264b0fe9a1
commit 5eb1d91335
2 changed files with 5 additions and 4 deletions

View File

@@ -26,10 +26,10 @@ GLANCE_CLIENT_OPTS = [
default='2',
help='Version of Glance API to use in glanceclient.'),
cfg.StrOpt('endpoint_type',
default='internalURL',
default='publicURL',
help='Type of endpoint to use in glanceclient.'
'Supported values: internalURL, publicURL, adminURL'
'The default is internalURL.')]
'The default is publicURL.')]
def register_opts(conf):