summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py2
-rw-r--r--releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml7
2 files changed, 9 insertions, 0 deletions
diff --git a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py
index 40f4e0315c..0b0be8f56a 100644
--- a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py
+++ b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py
@@ -215,6 +215,8 @@ ovn_opts = [
'baremetal nodes. Defaults to False.')),
cfg.BoolOpt('allow_stateless_action_supported',
default=True,
+ deprecated_for_removal=True,
+ deprecated_since="2023.1",
help=_('If OVN older than 21.06 is used together with '
'Neutron, this option should be set to ``False`` in '
'order to disable ``stateful-security-group`` API '
diff --git a/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml b/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml
new file mode 100644
index 0000000000..b1379eeec1
--- /dev/null
+++ b/releasenotes/notes/deprecate-ovn-config-option-to-disable-stateless-security-groups-2cd5d9d2b21ab168.yaml
@@ -0,0 +1,7 @@
+---
+deprecations:
+ - |
+ Config option ``allow_stateless_action_supported`` is deprecated to
+ removal and will be removed in ``2023.2 (Bobcat)`` release.
+ This option will not be needed anymore as Neutron will not be supported to
+ be run with OVN < 21.06.