From a6a2d4d1342773a7a68770f36578662b08ae94d4 Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Thu, 3 Aug 2017 10:56:53 -0700 Subject: [PATCH] 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 --- neutron/conf/common.py | 1 + .../notes/web_framework_deprecation-f984b83a1366c5b1.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/web_framework_deprecation-f984b83a1366c5b1.yaml diff --git a/neutron/conf/common.py b/neutron/conf/common.py index 456d0715980..d67cea65b0e 100644 --- a/neutron/conf/common.py +++ b/neutron/conf/common.py @@ -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 " diff --git a/releasenotes/notes/web_framework_deprecation-f984b83a1366c5b1.yaml b/releasenotes/notes/web_framework_deprecation-f984b83a1366c5b1.yaml new file mode 100644 index 00000000000..d7d76777ab6 --- /dev/null +++ b/releasenotes/notes/web_framework_deprecation-f984b83a1366c5b1.yaml @@ -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.