deprecate `enabled` option for endpoint-policy extension

the endpoint-policy extension, like the other recently moved
extensions, should be always enabled. Since this option made
its way into the liberty release we need to mark the option
as deprecated in M and remove it in O

implements bp: move-extensions

Change-Id: I5c01da0663c636bc6e2d9f12ac02b53edb9a277f
This commit is contained in:
Steve Martinelli 2015-11-19 00:43:00 -05:00
parent 40453931a9
commit 10cf8cfd42
2 changed files with 5 additions and 0 deletions

View File

@ -486,6 +486,7 @@ FILE_OPTIONS = {
'endpoint_policy': [
cfg.BoolOpt('enabled',
default=True,
deprecated_for_removal=True,
help='Enable endpoint_policy functionality.'),
cfg.StrOpt('driver',
default='sql',

View File

@ -0,0 +1,4 @@
---
other:
- Deprecate the ``enabled`` option from ``[endpoint_policy]``, it will be
removed in the 'O' release, and the extension will always be enabled.