Maria Matejka
aa11e82174
Filter unit test uncertainty hack
2024-06-26 18:30:17 +02:00
Maria Matejka
83045e9a1f
Configuration obstacles made a separate, explicit structure
...
With this, one can walk the obstacle list in a debugger and
easier see which specific object is holding the reference.
2024-06-14 23:16:07 +02:00
Maria Matejka
c4fbc5592d
Filter global values are not used directly from config
2024-06-14 23:16:07 +02:00
Maria Matejka
499d5e6fb3
ROA tables have now an auxiliary table
...
There is an IP table for every ROA table, holding special records
combining all known ROAs for every top-prefix.
The ROA digestor is now an IP digestor, running over the auxiliary
table.
2024-06-12 09:23:50 +02:00
Maria Matejka
602595fe10
Attributes: cleanup
...
Dropping EAF_TYPE__MAX and adding a check for forgotten
ea class registration
2024-06-12 09:23:50 +02:00
Ondrej Zajicek
07757b8a0c
Filter: Initialize route attribute flags properly
...
Move 'flags' field back to ea_class, so filtering code can use it to
initialize route attribute flags when set by filters.
2024-04-01 02:53:25 +02:00
Ondrej Zajicek
1beafe3eea
Fix merge commit c195c7a0d5
2024-03-28 17:55:43 +01:00
Ondrej Zajicek
c195c7a0d5
Merge commit '224a152c53f304881f8616a1c9255b467062a069' into thread-next
2024-03-28 16:22:23 +01:00
Ondrej Zajicek
224a152c53
Filter: Add support for string route attribute
2024-02-14 14:29:19 +01:00
Maria Matejka
a0041dd236
Merge commit '472be46f7ab211f38e7662543f1436df30dca753' into thread-next
2024-01-28 23:09:54 +01:00
Maria Matejka
4628a117d9
Merge commit 'v2.13.1-186-g761649e6' into thread-next
2024-01-28 14:38:43 +01:00
Maria Matejka
761649e66b
Merge commit 'v2.13.1-141-g4f806813' into mq-merge-step-2
2024-01-28 14:29:16 +01:00
Maria Matejka
772922b37b
Merge commit 'v2.13.1-180-g9d8b8959' into thread-next
2024-01-28 14:27:50 +01:00
Maria Matejka
9d8b8959af
Merge commit 'v2.13.1-137-g31e60fd4' into mq-merge-step-2
2024-01-28 14:24:55 +01:00
Maria Matejka
b88b724e86
Merge commit 'v2.13.1-171-g92832b2f' into thread-next
2024-01-28 14:20:29 +01:00
Maria Matejka
92832b2f6b
Merge commit 'v2.13.1-131-g21c3a54d' into mq-merge-step-2
2024-01-28 14:20:22 +01:00
Maria Matejka
8fb1f098d1
Fixes for CLang
2024-01-26 14:50:56 +01:00
Katerina Kubecova
472be46f7a
Filter: Tests for net_addr
...
Minor changes by committer.
2024-01-22 07:08:11 +01:00
Maria Matejka
00e40a6b80
Merge branch 'mq-aggregator-for-v3' into thread-next
2023-11-09 15:20:13 +01:00
Maria Matejka
b979c6ce6e
Merge commit 'bcff3ae7' into mq-aggregator-for-v3
2023-11-09 11:06:07 +01:00
Maria Matejka
3611555883
Merge commit '333ddd4f' into mq-aggregator-for-v3
2023-11-02 12:01:22 +01:00
Maria Matejka
8917f16e4b
Merge branch 'mq-aggregator-for-v3' into HEAD
2023-11-01 10:58:31 +01:00
Maria Matejka
e8dcc62ecd
Merge commit 'ba91f4c831f057b81104d1453f99b012c01f9c9e' into thread-next
2023-10-31 16:54:58 +01:00
Maria Matejka
9ebd380593
Merge commit 'df5a08e7c717ff421a52b4144d741f0a9749159f' into thread-next
2023-10-31 16:48:48 +01:00
Igor Putovny
f42c118aa7
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.
This is a split-commit of the neighboring aggregator branch
with a bit improved lvalue handling, to have easier merge into v3.
2023-10-31 16:40:46 +01:00
Maria Matejka
ba91f4c831
Filters: allowing to return any number of values
2023-10-31 16:40:46 +01:00
Maria Matejka
df5a08e7c7
Filter: value hashing
...
Added a code for computing hash of filter values.
This is a split-commit of the neighboring aggregator branch
with improved lvalue and attribute handling.
2023-10-31 16:40:44 +01:00
Maria Matejka
fc3f07fdc3
Merge commit '407eb388b7082b52921e93476c8ff1a98fe3b873' into thread-next
2023-10-31 10:28:01 +01:00
Maria Matejka
d18a68cef7
Merge commit 'f0187d713c36e841fe8bab350e84f5257a74981a' into thread-next
2023-10-31 10:20:22 +01:00
Maria Matejka
b0797c2dcd
Merge commit 'de70474fed139f9acb4ed3f8e925d12de4edcdd0' into thread-next
2023-10-31 09:58:42 +01:00
Maria Matejka
407eb388b7
Filter: predefined variables for specific blocks
...
This is a split-commit of the neighboring aggregator branch
with a bit improved lvalue handling, to have easier merge into v3.
2023-10-30 13:10:37 +01:00
Maria Matejka
f0187d713c
Filter: adding explicit route-block type
...
This is a split-commit of the neighboring aggregator branch
with a bit improved lvalue handling, to have easier merge into v3.
2023-10-30 13:10:36 +01:00
Maria Matejka
de70474fed
Filter: adding explicit route type
...
This is a split-commit of the neighboring aggregator branch
with a bit improved lvalue handling, to have easier merge into v3.
2023-10-30 13:10:36 +01:00
Maria Matejka
ddf698ec99
Renamed nest/rt.h back to nest/route.h
...
Some [redacted] (yes, myself) had a really bad idea
to rename nest/route.h to nest/rt.h while refactoring
some data structures out of it.
This led to unnecessarily complex problems with
merging updates from v2. Reverting this change
to make my life a bit easier.
At least it needed only one find-sed command:
find -name '*.[chlY]' -type f -exec sed -i 's#nest/rt.h#nest/route.h#' '{}' +
2023-10-29 16:29:26 +01:00
Maria Matejka
c5f6dc8142
Merge commit '0a729b50' into thread-next
...
This merge was particularly difficult. I finally resorted to delete the
symbol scope active flag altogether and replace its usage by other
means.
Also I had to update custom route attribute registration to fit
both the scope updates in v2 and the data model in v3.
2023-10-29 15:42:46 +01:00
Maria Matejka
737807c118
Merge commit 'bb8e2824' into thread-next
2023-10-29 00:56:06 +02:00
Maria Matejka
de8288c679
Merge commit 'a3dc2645' into thread-next
2023-10-29 00:50:38 +02:00
Maria Matejka
a725e3e580
Merge commit 'cc1099a0' into thread-next
...
Updated f_implicit_roa_check() to use type methods and moved to filter/f-util.c
2023-10-29 00:14:52 +02:00
Maria Matejka
ef02744998
Merge commit 'fdd39c81' into thread-next
2023-10-29 00:00:07 +02:00
Maria Matejka
1a49a4aea8
Merge commit 'fc9d471b' into thread-next
...
Conflicts:
conf/cf-lex.l
conf/conf.h
filter/config.Y
filter/data.c
filter/data.h
2023-10-28 23:42:21 +02:00
Maria Matejka
0ba22509a8
Merge commit '51f2e7af' into thread-next
...
Conflicts:
conf/cf-lex.l
conf/conf.h
conf/confbase.Y
filter/config.Y
nest/config.Y
nest/proto.c
nest/rt-table.c
proto/bgp/bgp.c
sysdep/unix/main.c
2023-10-27 18:29:31 +02:00
Maria Matejka
e6baff89f8
Merge commit '5951dfbd' into thread-next
2023-10-27 18:06:34 +02:00
Maria Matejka
da52d66177
Merge commit '58efa944' into thread-next
...
Conflicts:
conf/cf-lex.l
conf/conf.h
conf/confbase.Y
conf/gen_keywords.m4
conf/gen_parser.m4
filter/config.Y
nest/config.Y
proto/bgp/config.Y
proto/static/config.Y
Keywords and attributes are split to separate namespaces, to avoid
collisions between regular keyword use and attribute overlay.
2023-10-25 14:41:11 +02:00
Maria Matejka
c4bcded8b9
Merge commit 'a5a6de58' into thread-next
...
Conflicts:
filter/config.Y
filter/data.h
filter/data.c
2023-10-24 10:39:52 +02:00
Maria Matejka
7efa3bac4f
Merge commit 'cce48c6c' into thread-next
2023-10-13 14:02:21 +02:00
Maria Matejka
407e736404
Merge commit '0dbcc927' into thread-next
2023-10-13 13:36:47 +02:00
Maria Matejka
e7acdf6428
Merge commit 'fc354788' into thread-next
2023-10-13 11:32:53 +02:00
Maria Matejka
767b7b22a0
Merge commit '5121101136cb80151a9361c63dc4822afeb44eef' into thread-next
2023-10-12 14:12:33 +02:00
Maria Matejka
65ced75e95
Merge branch 'mq-bmp-to-merge-to-v3' into thread-next
2023-10-11 22:06:18 +02:00
Ondrej Zajicek
57aa077227
BGP: Improve custom BGP attributes
...
- Implement EA_GET for custom BGP attributes
- Forbid EA_SET on existing opaque attributes
- Forbid redefining existing attributes
- Document possible compatibility problems
2023-10-05 21:54:25 +02:00