]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_fsm.c
This patch adds support for allowing BGP to create and bring up neighbor
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:03:47 +0000 (18:03 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:03:47 +0000 (18:03 -0700)
commitf14e6fdbe2ab77712bffa9a2de361958634c494d
tree4370e3570adfc077ba1d51d897d0d7096eaa3e42
parent3f9c7369f7112d87007b87a5faaa61cdd5e24c39
This patch adds support for allowing BGP to create and bring up neighbor
sessions dynamically. The operator configures a range of neighbor addresses
to which peering is allowed. The ranges are configured as subnets and
multiple ranges are allowed. Each range is associated with a peer-group
so that additional parameters can be configured.

BGP neighbor sessions are dynamically created when connections are initiated
by remote neighbors whose addresses fall within a configured range. The
sessions are deleted when the BGP connection terminates.

A limit on the number of neighbors allowed from each range of addresses
can be specified.

IPv4 and IPv6 peering is supported. Over the peering, any of the address
families configured for the peer-group can be negotiated.
bgpd/bgp_fsm.c
bgpd/bgp_network.c
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgpd.c
bgpd/bgpd.h
lib/command.h