]> git.proxmox.com Git - mirror_frr.git/commit - lib/nexthop_group.h
lib: Add nexthop-group cli
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 10 Mar 2018 20:12:52 +0000 (15:12 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Mar 2018 12:32:39 +0000 (08:32 -0400)
commit31919191561fa9b978f8c3cf713e30ed6fb20889
tree59c41374f64717c5301f8dc1087892886e892494
parent9fb9dfd963684e14a493705c6c330364f45d2641
lib: Add nexthop-group cli

Add a nexthop-group cli:

nexthop-group NAME
  nexthop A
  nexthop B
  nexthop C
!

This will allow interested parties to hook into the cli for
nexthops.  Users can add callback functions for add/delete
of a nexthop group as well as add/delete of each individual
nexthop.

Future work( PBR and static routes ) will take advantage
of this.

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