summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.h
AgeCommit message (Collapse)Author
2019-01-02sharp: Modify route install to take nexthop groupsDonald Sharp
Modify the route_add function to take nexthop groups. Future commits will allow sharpd to use nexthop groups as the install mechanism for routes. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-05-17sharp: Allow the specification of instance when adding/deleting routesDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-03-16sharpd: Add ability to register for nhtDonald Sharp
Add code to sharpd to allow it to register for nexthop tracking and then to display when it receives information about the nexthop it is watching. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-02-14lib, sharpd, zebra: Update the zapi_vrf_label call to add afiDonald Sharp
Add the ability to pass in an afi to zebra. zebra_vrf keeps track of the afi/label tuple and then does the right thing before we call down. AF_MPLS does not care about v4 or v6 it just knows label and what device to use for lookup. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-02-08sharpd: Add some infrastructure to allow test of ZEBRA_VRF_LABELDonald Sharp
Add some infrastructure to allow the testing of ZEBRA_VRF_LABEL Signed-off-by: Donald Sharp <sharp@cumulusnetworks.com>
2017-11-27sharpd: Add Super Happy Advanced Routing ProtocolDonald Sharp
Add a daemon that will allow us to test the zapi as well as test route install/removal times from the kernel. The current commands are: install route <starting ip address> nexthop <nexthop> (1-1000000) This command starts installing at <starting ip address>/32 (1-100000) routes that it auto-increments by 1 Installation start time is noted in the log and finish time is noted as well. remove routes <starting ip address> (1-1000000) This command removes routes at <starting ip address>/32 and removes (1-100000) routes created by the install route command. This code can be considered experimental and *is not* something that should be run in a production environment. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>