summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-02-29 18:04:29 +0000
committervivek <vivek@cumulusnetworks.com>2016-02-29 18:04:29 +0000
commit8dee039673865b234d14d567163a206bc93cd5a4 (patch)
tree90065eb22cea0fb6f3a7ff99db36c26f78b6a4f4 /lib/command.c
parentd511d7f1685b29914f4e6c6ed3ff4c03454b4d20 (diff)
BGP: Unnumbered peering in a VRF
Code changes to make unnumbered peering work in a VRF. The changes have to do with locating the interface in the correct VRF (in order to look for neighbor address) in the case of outgoing connections and when specifying source address as well as fetching the correct instance for an incoming connection based on reading the device the socket is bound to (the multi-vrf socket option in the kernel). Additionally, for IPv4 unnumbered peering in a VRF (based on /30 or /31 addresses), bind to the VRF rather than the interface. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-9311 Reviewed By: CCR-4192 Testing Done: Manual, bgpsmoke
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions