]> git.puffer.fish Git - matthieu/frr.git/commit
lib, sharpd, zebra: Add new enum for lsp type and pass it through.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 8 Feb 2018 14:50:32 +0000 (09:50 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Feb 2018 01:35:14 +0000 (20:35 -0500)
commit339e36d258ad73701d7b9eccc0e56e48cdea1a2d
tree38adacaebff070103e0388f5aff39d8668cbbbef
parent70e98a7fe7296a1279c6b7142e57221f71ff3121
lib, sharpd, zebra: Add new enum for lsp type and pass it through.

Add the ability to pass the lsp owner type through the zapi
and in addition add a new label type for the sharp protocol
for testing.

Finally modify zebra_mpls.h to not have defaults specified
for the enum.  That way when we add a new LSP type the
compile fails and the person doing the addition knows
where he has to touch shit.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/mpls.h
lib/zclient.c
lib/zclient.h
sharpd/sharp_zebra.c
zebra/zebra_mpls.h
zebra/zserv.c