[OVN] Disable the mcast_flood_reports option for LSPs
The mcast_flood_reports option was being enabled on LSPs as a workaround
for a problem in core OVN. The issue in core OVN has been fixed and this
workaround is now causing an increase in the number of actions on the
table 38 of OVN (at the risk of hitting a size limit).
This patch disables the mcast_flood_reports option on newer versions of
OVN while keeping the backward compatibility with the old ones.
Since the fix in core OVN does not expose any information to the CMS to
tell us that the issue is fixed this patch uses the NB DB schema version
to determine if this is an old or a new OVN version.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/892776 /opendev. org/openstack/ neutron/ commit/ a29996e2205c3b8 c9b272b54d17525 b983aefff4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit a29996e2205c3b8 c9b272b54d17525 b983aefff4
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Jul 11 11:29:13 2023 +0100
[OVN] Disable the mcast_flood_reports option for LSPs
The mcast_flood_reports option was being enabled on LSPs as a workaround
for a problem in core OVN. The issue in core OVN has been fixed and this
workaround is now causing an increase in the number of actions on the
table 38 of OVN (at the risk of hitting a size limit).
This patch disables the mcast_flood_reports option on newer versions of
OVN while keeping the backward compatibility with the old ones.
Since the fix in core OVN does not expose any information to the CMS to
tell us that the issue is fixed this patch uses the NB DB schema version
to determine if this is an old or a new OVN version.
Conflicts: plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/maintenan ce.py plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/ovn_ client. py tests/unit/ fake_resources. py
neutron/
neutron/
neutron/
Note about this backport: I manually added the LSP_TYPE_LOCALPORT
constant to this patch to simplify the backport
Change-Id: I8f3f0c2d516e37 145eb298b8f51d9 2fe9905158a 87bab9bc6623098 c80156f36d)
Closes-Bug: #2026825
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 06dbc5227b92088