Deprecate ovn_emit_need_to_frag option

It's only applicable for really old kernels. I suggest we remove it
after a single cycle.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2314429

Change-Id: I487533549ddd6a60ebd773e422def59f7a18bb8d
This commit is contained in:
Ihar Hrachyshka 2024-09-27 13:45:50 -04:00
parent c3b9c44f36
commit 326fcbafd9
2 changed files with 9 additions and 0 deletions

View File

@ -176,6 +176,10 @@ ovn_opts = [
"See the ovn-nb(5) man page for available options.")),
cfg.BoolOpt('ovn_emit_need_to_frag',
default=True,
deprecated_for_removal=True,
deprecated_since='2025.1',
deprecated_reason=("The option is useful only on very old "
"Linux kernels (version < 5.2)."),
help=_('Configure OVN to emit "need to frag" packets in '
'case of MTU mismatches.\n'
'You may have to disable this option if you are '

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``ovn_emit_need_to_frag`` option is now deprecated for removal. The
config option will removed in the ``2026.1`` release.