Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This flow already matches on 'arp.tpa == ip_address', so instead of setting 'arp.spa' to this 'ip_address' we can just swap values of 'arp.tpa' and 'arp.spa'. This elimintes the variable from the 'action', allowing us to just use the list of all IPs in the match. Current OVN generates one ARP flow for each load balancer IP for each router port. So, if we have 100 ports and 1000 IP addresses, northd will generate 10^5 ARP flows. With this change it will generate only 100 of them. In case of ovn-k8s scale test, this change alone reduced the database size from 500 to 200 MB. Also added more test cses for loadbalancer flows. Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Numan Siddique <numans@ovn.org> (cherry picked from commit ea6ee90)
- Loading branch information
1 parent
be65a46
commit 3977687
Showing
4 changed files
with
80 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters