Turn off V1 API by default
Change-Id: Ia3179319c0a0e56a2e16b8d9c6dd80515c1bd36d
This commit is contained in:
parent
495cb491f4
commit
583d8eaf6e
@ -44,7 +44,10 @@ cfg.CONF.register_opts([
|
|||||||
cfg.StrOpt('auth_strategy', default='keystone',
|
cfg.StrOpt('auth_strategy', default='keystone',
|
||||||
help='The strategy to use for auth. Supports noauth or '
|
help='The strategy to use for auth. Supports noauth or '
|
||||||
'keystone'),
|
'keystone'),
|
||||||
cfg.BoolOpt('enable-api-v1', default=True),
|
cfg.BoolOpt('enable-api-v1', default=False,
|
||||||
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason=("V1 API is being removed in a future"
|
||||||
|
"release")),
|
||||||
cfg.BoolOpt('enable-api-v2', default=True),
|
cfg.BoolOpt('enable-api-v2', default=True),
|
||||||
cfg.BoolOpt('enable-api-admin', default=False),
|
cfg.BoolOpt('enable-api-admin', default=False),
|
||||||
cfg.IntOpt('max_header_line', default=16384,
|
cfg.IntOpt('max_header_line', default=16384,
|
||||||
|
@ -112,7 +112,7 @@ debug = False
|
|||||||
#auth_strategy = keystone
|
#auth_strategy = keystone
|
||||||
|
|
||||||
# Enable Version 1 API (deprecated)
|
# Enable Version 1 API (deprecated)
|
||||||
#enable_api_v1 = True
|
#enable_api_v1 = False
|
||||||
|
|
||||||
# Enabled API Version 1 extensions
|
# Enabled API Version 1 extensions
|
||||||
# Can be one or more of : diagnostics, quotas, reports, sync, touch
|
# Can be one or more of : diagnostics, quotas, reports, sync, touch
|
||||||
|
5
releasenotes/notes/v1-disabled-ffebc0434fa0665f.yaml
Normal file
5
releasenotes/notes/v1-disabled-ffebc0434fa0665f.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
critical:
|
||||||
|
- The ``v1`` API is now off by default. To re-enable the V1 API
|
||||||
|
please set ``enable_api_v1 = True`` in the ``[service:api]`` section
|
||||||
|
of your designate config file.
|
Loading…
Reference in New Issue
Block a user