CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/02/04 11:53:10
Modified files:
usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y printconf.c rde.h
rde_attr.c rde_filter.c
Log message:
Implement as-override, a feature where the neighbor AS is replaced by the
local AS in AS paths. This is sometimes needed in bigger transport networks
where private AS numbers are used in multiple locations.
The implementation is done using a filterset which modifies the AS path -
somewhat inspired by the set attribute code. Setting as-override yes will add
match from <neighbor> set { as-override }
to the start of the filter rules. Since this is filters the Adj-RIB-In still
holds the original path and so reloads changing the setting just work.
With and OK markus@