Replace default gnocchi endpoint type

The default gnocchi endpoint type is publicURL in gnocchiclient.
This patch replaces default gnocchi endpoint type from
internalURL to publicURL
see https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/adapter.py#L347-L351

Change-Id: I0ba2bde46de3025964affe23ef16cce9e5b4670f
This commit is contained in:
zhengwei6082
2017-08-30 11:19:41 +08:00
committed by Wei Zheng
parent c12f132699
commit 154aca3948

View File

@@ -26,10 +26,10 @@ GNOCCHI_CLIENT_OPTS = [
default='1',
help='Version of Gnocchi API to use in gnocchiclient.'),
cfg.StrOpt('endpoint_type',
default='internalURL',
default='public',
help='Type of endpoint to use in gnocchi client.'
'Supported values: internalURL, publicURL, adminURL'
'The default is internalURL.'),
'Supported values: internal, public, admin'
'The default is public.'),
cfg.IntOpt('query_max_retries',
default=10,
help='How many times Watcher is trying to query again'),