Cleanup stale flows by cookie and table_id instead of just by cookie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Pre-conditions: After restart neutron-ovs-agent.
After I restart neutron-ovs-agent, I found neutron cleanup stale flows only by cookie, and the cookies in different tables always be same, that means I can cleanup flows in table 20 by cookies in table 0! I think the safer way is to cleanup stale flows by cookie and table_id instead of just by cookie.
def cleanup_
for table_id in self.of_tables:
def _dump_and_
cookies = set([f.cookie for f in self.dump_
for c in cookies:
def uninstall_
(dp, ofp, ofpp) = self._get_dp()
if table_id is None:
......
Did you mean this work? /review. opendev. org/#/c/ 638647/ 14/neutron/ plugins/ ml2/drivers/ openvswitch/ agent/openflow/ native/ ofswitch. py@181
https:/