]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: ECMP for external routes
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 15 Feb 2018 03:02:11 +0000 (19:02 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 1 Mar 2018 15:47:17 +0000 (07:47 -0800)
commit07b37f93a7e5670b7a25e66a29a7363640005027
tree235e6233ac91b5357e3e5bc0450c840f9abe355f
parentc98f4d81aa5d4113ceea58ce6db4bebab5c99735
ospf6d: ECMP for external routes

The route being added check its origin matches,
with any of the existing path (list of paths).
Remove the existing path, add if its cost is
eqaual or less than any of the existing path.

For a given route and of existing path cost is lower
(better) than one being added, discard new route update.

The existing path cost is higher (lower) than one being
added, ospf6_route_add replaces existing with new route
info.

Compare cost between delete request and with existing
route.

Ticket:CM-16139

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_asbr.c
ospf6d/ospf6_asbr.h
ospf6d/ospf6_route.c
ospf6d/ospf6_top.c