]> git.proxmox.com Git - mirror_frr.git/commit
BGP: Link BGP instance to corresponding VRF
authorvivek <vivek@cumulusnetworks.com>
Sat, 20 Feb 2016 02:43:30 +0000 (18:43 -0800)
committervivek <vivek@cumulusnetworks.com>
Sat, 20 Feb 2016 02:43:30 +0000 (18:43 -0800)
commitd1be1f083d2c73d8a6ce67ea9f729d22b75eafa6
tree64606dc0b9722d55a8fd6b2158e9fa5911c19cf3
parentf360eac003f2f5357293e43556042cb8f74a1951
BGP: Link BGP instance to corresponding VRF

Link BGP instance (Default or VRF) to the corresponding VRF structure and
modify lookup to use this. The logic is very similar to what is implemented
in zebra - the 'struct zebra_vrf' there is essentially 'struct bgp' in BGP.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-9122
Reviewed By: CCR-4102
Testing Done: Manual
bgpd/bgp_zebra.c
bgpd/bgpd.c
bgpd/bgpd.h