]> git.puffer.fish Git - mirror/frr.git/commit
lib, zebra: Abstract vrf.c to handle both vrf_id_t and char *name
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 1 Feb 2016 17:09:51 +0000 (09:09 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 1 Feb 2016 17:09:51 +0000 (09:09 -0800)
commit216b18efe144b07087050cb4dee4a15e4d747b05
tree88e8b23039fdab4286225e5d35a96cdcb49699a4
parent90fb3e1389d6347de55db787521c353d3d5e2547
lib, zebra: Abstract vrf.c to handle both vrf_id_t and char *name

Abstract vrf.c code to allow pass in a vrf name as well as to
start the coding of how namespaces and vrf's will interact.

Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/vrf.c
lib/vrf.h
zebra/main.c
zebra/test_main.c