[ML2][OVS] more precise flow table cleaning

Bug #2060587 reported by LIU Yulong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
LIU Yulong

Bug Description

OVS-agent wants to clean flows table by table during restart, but actually it does not. [1] If one table has same cookie with other tables, all related flows will be clean at once. A bit radical in such style.

[1] https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#L186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/915302

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → LIU Yulong (dragon889)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/915302
Committed: https://opendev.org/openstack/neutron/commit/bac1b1f721e6b23da2063340827576fd9c59d0f4
Submitter: "Zuul (22348)"
Branch: master

commit bac1b1f721e6b23da2063340827576fd9c59d0f4
Author: LIU Yulong <email address hidden>
Date: Tue Apr 9 09:11:03 2024 +0800

    More precise flow table cleaning

    OVS-agent wants to clean flows table by table during restart,
    but actually it does not. If one table has same cookie with
    other tables, all related flows will be clean at once.

    This patch adds the table_id param to the related call
    to limit the flow clean on one table at once.

    Closes-Bug: #2060587
    Change-Id: I266eb0f5115af718b91f930d759581616310999d

Changed in neutron:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.