Deprecate ovsdb_interface option

Start the deprecation process for the option. We'll remove the old cli
driver in Rocky.

Change-Id: Ieb2b8916d4cdbb3b7e6a953c827b176f2217a42f
This commit is contained in:
Ihar Hrachyshka 2017-09-12 10:47:24 -06:00
parent 8142957f53
commit 04e23a3ed2
2 changed files with 7 additions and 0 deletions

View File

@ -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')),

View File

@ -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.