From 367d354021f360341f4f5c00c69a6349a9b5dec5 Mon Sep 17 00:00:00 2001 From: IWAMOTO Toshihiro Date: Wed, 25 Jan 2017 12:08:11 +0900 Subject: [PATCH] Mark of_interface option deprecated Per Ocata Design Summit discussion, ovs-ofctl of_interface driver will be deprecated and removed. Change-Id: I0d94036e25919db1197819f5fe429205b01eee33 Related-blueprint: ovs-ofctl-to-python --- neutron/conf/plugins/ml2/drivers/ovs_conf.py | 1 + ...eprecate-of_interface-driver-option-1968f8bf6fcd1a38.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/deprecate-of_interface-driver-option-1968f8bf6fcd1a38.yaml diff --git a/neutron/conf/plugins/ml2/drivers/ovs_conf.py b/neutron/conf/plugins/ml2/drivers/ovs_conf.py index 91fd203deff..1267da16a0f 100644 --- a/neutron/conf/plugins/ml2/drivers/ovs_conf.py +++ b/neutron/conf/plugins/ml2/drivers/ovs_conf.py @@ -69,6 +69,7 @@ ovs_opts = [ "Support kernel without Open vSwitch patch port " "support so long as it is set to True.")), cfg.StrOpt('of_interface', default='native', + deprecated_for_removal=True, choices=['ovs-ofctl', 'native'], help=_("OpenFlow interface to use.")), cfg.StrOpt('datapath_type', default=constants.OVS_DATAPATH_SYSTEM, diff --git a/releasenotes/notes/deprecate-of_interface-driver-option-1968f8bf6fcd1a38.yaml b/releasenotes/notes/deprecate-of_interface-driver-option-1968f8bf6fcd1a38.yaml new file mode 100644 index 00000000000..254cad98e9e --- /dev/null +++ b/releasenotes/notes/deprecate-of_interface-driver-option-1968f8bf6fcd1a38.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - The of_interface Open vSwitch agent configuration option is deprecated and will be removed + in the future. After option removal, the current default driver (native) will be the only + supported of_interface driver.