bird/nest
Ondrej Zajicek (work) 943478b00f Basic VRF support
Add basic VRF (virtual routing and forwarding) support. Protocols can be
associated with VRFs, such protocols will be restricted to interfaces
assigned to the VRF (as reported by Linux kernel) and will use sockets
bound to the VRF. E.g., different multihop BGP instances can use diffent
kernel routing tables to handle BGP TCP connections.

The VRF support is preliminary, currently there are several limitations:

- Recent Linux kernels (4.11) do not handle correctly sockets bound
to interaces that are part of VRF, so most protocols other than multihop
BGP do not work. This will be fixed by future kernel versions.

- Neighbor cache ignores VRFs. Breaks config with the same prefix on
local interfaces in different VRFs. Not much problem as single hop
protocols do not work anyways.

- Olock code ignores VRFs. Breaks config with multiple BGP peers with the
same IP address in different VRFs.

- Incoming BGP connections are not dispatched according to VRFs.
Breaks config with multiple BGP peers with the same IP address in
different VRFs. Perhaps we would need some kernel API to read VRF of
incoming connection? Or probably use multiple listening sockets in
int-new branch.

- We should handle master VRF interface up/down events and perhaps
disable associated protocols when VRF goes down. Or at least disable
associated interfaces.

- Also we should check if the master iface is really VRF iface and
not some other kind of master iface.

- BFD session request dispatch should be aware of VRFs.

- Perhaps kernel protocol should read default kernel table ID from VRF
iface so it is not necessary to configure it.

- Perhaps we should have per-VRF default table.
2017-09-06 17:38:48 +02:00
..
a-path.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
a-set.c BGP: Cluster list item should be prepended 2016-11-15 16:24:39 +01:00
attrs.h BGP: Cluster list item should be prepended 2016-11-15 16:24:39 +01:00
bfd.h Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
bird.h Converted shutdown to a kind of reconfiguration, it's no more handled 2000-01-16 17:40:26 +00:00
cli.c CLI: Fix bug in symbol handling introduced in previous patches 2017-05-31 14:11:40 +02:00
cli.h unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
cmds.c Conf: Replace keyword and symbol hash table with generic hash table. 2017-05-25 23:30:39 +02:00
cmds.h Implements eval command and minor CLI cleanups. 2013-07-25 13:15:32 +02:00
config.Y Basic VRF support 2017-09-06 17:38:48 +02:00
Doc Documented sockets, events and timers. 2000-06-05 12:19:12 +00:00
iface.c Basic VRF support 2017-09-06 17:38:48 +02:00
iface.h Basic VRF support 2017-09-06 17:38:48 +02:00
locks.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
locks.h Temporary integrated OSPF commit. 2014-07-18 18:24:12 +02:00
Makefile Route Origin Authorization basics. 2012-03-18 17:32:30 +01:00
mrtdump.h NEWS, version and documentation update. 2010-01-06 16:57:20 +01:00
neighbor.c Prog Doc: Complete several missing parameters 2016-05-12 15:49:44 +02:00
password.c RIP: Use message authentication interface 2016-11-02 17:53:22 +01:00
password.h RIP: Use message authentication interface 2016-11-02 17:53:22 +01:00
proto-hooks.c Prog Doc: Complete several missing parameters 2016-05-12 15:49:44 +02:00
proto.c Basic VRF support 2017-09-06 17:38:48 +02:00
proto.sgml Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
protocol.h Basic VRF support 2017-09-06 17:38:48 +02:00
route.h Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
rt-attr.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00
rt-dev.c Direct: Implement check link for direct protocol 2016-04-08 15:11:21 +02:00
rt-dev.h Direct: Implement check link for direct protocol 2016-04-08 15:11:21 +02:00
rt-fib.c Major RIP redesign 2015-10-05 13:18:10 +02:00
rt-roa.c Conf: Fixes bug in symbol lookup during reconfiguration 2015-11-09 00:42:02 +01:00
rt-table.c Build: switch on -Wextra, get rid of most of the warnings 2016-11-01 14:52:54 +01:00