Adding an option of "Soft Restart" in neutron agent along with ovs-firewall-driver

Registered by Jun Park

While the blueprint of "ovs-firewall-driver" is being developed, a new concern comes up. When an ovs agent (or an ml2 agent with ovs) restarts, if it cleans up all the pre-existing OpenFlow flows and recreates them, it could be problematic because it would cause indefinite network hiccups on VMs' traffic. So we need to add an option of soft-restart to an ovs agent, which allows to keep (or not touch) the pre-existing OpenFlow flows and possibly fill the missing OpenFlow flows only. Maybe it would be also better to delete undesired OpenFlow flows as well. Basically, "soft-restart" would be fixing flows without touching legitimate flows.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Jun Park
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Armando Migliaccio

Related branches

Sprints

Whiteboard

This bp is related to the following bug:
Restarting neutron openvswitch agent causes network hiccup by throwing away all flows
https://bugs.launchpad.net/neutron/+bug/1383674

And this one:
After restarting a ovs agent, it still drops useful flows if the neutron server is busy/down
https://bugs.launchpad.net/neutron/+bug/1515075

(?)

Work Items