]> git.proxmox.com Git - mirror_frr.git/commit - sharpd/sharp_vty.c
lib, sharpd, zebra: Update the zapi_vrf_label call to add afi
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 06:11:09 +0000 (01:11 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 06:11:09 +0000 (01:11 -0500)
commit7d061b3cb120c35c5b580bbbcfb1ec9602f58956
treeda99a4dce9986616c6830c246d74bed871eab9fb
parentd0a6f3e0c5a28ef927cc4bae9b24b284f966d0bd
lib, sharpd, zebra: Update the zapi_vrf_label call to add afi

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>
lib/zclient.c
lib/zclient.h
sharpd/sharp_vty.c
sharpd/sharp_zebra.c
sharpd/sharp_zebra.h
zebra/zebra_vrf.h
zebra/zserv.c