[ovs-git] [ovn-org/ovn] 7687d8: ofctrl: Send all flow modifications in a bundle.
noreply at github.com
Mon Apr 19 14:38:23 UTC 2021
Author: Ilya Maximets <i.maximets at ovn.org>
Date: 2021-04-19 (Mon, 19 Apr 2021)
ofctrl: Send all flow modifications in a bundle.
If some OF rules needs to be replaced due to logical flow changes,
ovn-controller deletes old rules first and adds new ones later.
In a complex scenario with big number of flows a lot of time
can pass between these events leading to the dataplane downtime
and packet loss. Also, while these changes are in progress,
OVS will use incomplete pipelines that will also lead to packet
To avoid this, all flow modifications should be done atomically,
so there will be always some version of OF rules installed that
can handle dataplane traffic and it will be complete in terms of
reflecting some consistent set of logical flows. Wrapping all
flow modifications into atomic ordered bundle to achieve that.
Reported-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git