Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-northd: Fix ARP respond flows flapping.
>From ovn-controller debug log it is seen that when creating a lsp in NB, a lflow for ARP respond is added and then deleted in SB by northd (the flow will be added again when the port is bound to a chassis). This causes unnecessary handling from ovn-controller. The root cause is lsp_is_up() returns true when the column is not set, when the lsp is just created. So northd adds the ARP respond flow in SB lflow table. At the same time it will create port-binding in SB without chassis binding. Then in the next iteration northd will process that port-binding change and notice that there is no chassis binding for this lsp, so it will set the "up" to false, which causes northd to delete the ARP respond flow. The fix is to make sure when "up" is not set, it is regarded as false by default. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
- Loading branch information