Deprecate the osapi_v3.enabled option
This is part of the larger effort in Liberty to remove references to the v3 API. This enables the v2.1 API by default and deprecates the 'enabled' option for removal in the N release. Alternatively we could just ignore the option altogether but changing it to True by default essentially does that for us. Related-Bug: #1462901 Change-Id: I43f0352f9fa89401f79389a6dc1035d901f52ed2
This commit is contained in:
parent
e09a1c7c7c
commit
ce7f986c33
|
@ -42,8 +42,10 @@ from nova import wsgi as base_wsgi
|
|||
|
||||
api_opts = [
|
||||
cfg.BoolOpt('enabled',
|
||||
default=False,
|
||||
help='Whether the V3 API is enabled or not'),
|
||||
default=True,
|
||||
help='DEPRECATED: Whether the V3 API is enabled or not. '
|
||||
'This option will be removed in the 14.0.0 "N" release.',
|
||||
deprecated_for_removal=True),
|
||||
cfg.ListOpt('extensions_blacklist',
|
||||
default=[],
|
||||
help='A list of v3 API extensions to never load. '
|
||||
|
|
Loading…
Reference in New Issue