Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd: Add ECMP support to router policies.
A user can add a policy now like: ovn-nbctl lr-policy-add <LR> 100 "ip4.src == 10.0.0.4" reroute 172.0.0.5,172.0.0.6 We do have ECMP support for logical router static routes, but since policies are applied after the routing stage, ECMP support for policies is desired by ovn-kubernetes. A new column 'nexthops' is added to the Logical_Router_Policy table instead of modifying the existing column 'nexthop' to preserve backward compatibility and avoid any upgrade issues. Requested-by: Alexander Constantinescu <aconstan@redhat.com> Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1881826 Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org>
- Loading branch information
1 parent
9af90b5
commit 35b00c7
Showing
9 changed files
with
430 additions
and
49 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
Oops, something went wrong.