]> git.proxmox.com Git - mirror_frr.git/commit - lib/nexthop_group.c
lib: Add weight to nexthop for nexthop-group nexthops
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 Dec 2019 17:28:38 +0000 (12:28 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 9 Dec 2019 18:39:59 +0000 (13:39 -0500)
commit597371a615b9f062642dfd97b4d81c05e7a9bd55
tree5931883602bc7e885aa64d0560b377191034a99f
parentbd054c1aa288b232fb0bab48af855035df5c62bc
lib: Add weight to nexthop for nexthop-group nexthops

Add the ability to read in the weight of a nexthop and store/handle
it appropriately

nexthop-group BLUE
  nexthop 192.168.201.44 weight 33
  nexthop 192.168.201.45 weight 66
  nexthop 192.168.201.46 weight 99

Is appropriately read in and handled as appropriate.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/nexthop_group.c