From 04e23a3ed2a535111a012eaf5992bc0544873fea Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Tue, 12 Sep 2017 10:47:24 -0600 Subject: [PATCH] Deprecate ovsdb_interface option Start the deprecation process for the option. We'll remove the old cli driver in Rocky. Change-Id: Ieb2b8916d4cdbb3b7e6a953c827b176f2217a42f --- neutron/conf/agent/ovsdb_api.py | 1 + .../notes/deprecate-ovsdb-interface-b7e7cc5b036e9ef9.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/deprecate-ovsdb-interface-b7e7cc5b036e9ef9.yaml diff --git a/neutron/conf/agent/ovsdb_api.py b/neutron/conf/agent/ovsdb_api.py index b218d0c3651..1f84000a8ab 100644 --- a/neutron/conf/agent/ovsdb_api.py +++ b/neutron/conf/agent/ovsdb_api.py @@ -25,6 +25,7 @@ interface_map = { API_OPTS = [ cfg.StrOpt('ovsdb_interface', + deprecated_for_removal=True, choices=interface_map.keys(), default='native', help=_('The interface for interacting with the OVSDB')), diff --git a/releasenotes/notes/deprecate-ovsdb-interface-b7e7cc5b036e9ef9.yaml b/releasenotes/notes/deprecate-ovsdb-interface-b7e7cc5b036e9ef9.yaml new file mode 100644 index 00000000000..41f726bfd0f --- /dev/null +++ b/releasenotes/notes/deprecate-ovsdb-interface-b7e7cc5b036e9ef9.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The ``ovsdb_interface`` configuration option is now deprecated. In future + releases, the value of the option will be ignored. The ``native`` driver + will then be used.