Deprecate web_framework option

We didn't quite get around to pulling out all of the old API
code before the end of the cycle so we should deprecate this
option to make sure people don't use it.

Change-Id: Idf9d497bbccdb89c6e5898611d1cad9a18b1bcbb
Implements: blueprint wsgi-pecan-switch
This commit is contained in:
Kevin Benton 2017-08-03 10:56:53 -07:00
parent e97ee8a972
commit a6a2d4d134
2 changed files with 8 additions and 0 deletions

View File

@ -118,6 +118,7 @@ core_opts = [
help=_('If True, then allow plugins that support it to '
'create VLAN transparent networks.')),
cfg.StrOpt('web_framework', default='pecan',
deprecated_for_removal=True,
choices=('legacy', 'pecan'),
help=_("This will choose the web framework in which to run "
"the Neutron API server. 'pecan' is a new "

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
The web_framework option has been deprecated and will be removed during
Queens. This option was just added to make the transition to pecan easier
so there is no reason operators should be using the non-default option
anyway.