]> git.ipfire.org Git - thirdparty/bird.git/commit
Basic route aggregation
authorIgor Putovny <igor.putovny@nic.cz>
Wed, 21 Jun 2023 11:15:07 +0000 (13:15 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 26 Sep 2023 13:46:24 +0000 (15:46 +0200)
commit977b82fba49b22d9548546d88b105945921efaed
treec62f27e9923c25336263883e2c069f8e87d150dc
parent0a729b509c2c4476cbf66c64620a863e6a381c8c
Basic route aggregation

Add a new protocol offering route aggregation.

User can specify list of route attributes in the configuration file and
run route aggregation on the export side of the pipe protocol. Routes are
sorted and for every group of equivalent routes new route is created and
exported to the routing table. It is also possible to specify filter
which will run for every route before aggregation.

Furthermore, it will be possible to set attributes of new routes
according to attributes of the aggregated routes.

This is a work in progress.

Original work by Igor Putovny, subsequent cleanups and finalization by
Maria Matejka.
23 files changed:
conf/conf.h
conf/confbase.Y
configure.ac
filter/config.Y
filter/data.c
filter/data.h
filter/f-inst.c
filter/filter.c
filter/filter.h
nest/a-path.c
nest/attrs.h
nest/proto.c
nest/protocol.h
nest/route.h
nest/rt-attr.c
nest/rt-table.c
proto/aggregator/Doc [new file with mode: 0644]
proto/aggregator/Makefile [new file with mode: 0644]
proto/aggregator/aggregator.c [new file with mode: 0644]
proto/aggregator/aggregator.h [new file with mode: 0644]
proto/aggregator/config.Y [new file with mode: 0644]
proto/aggregator/test.conf [new file with mode: 0644]
proto/static/static.c