]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: add 'set as-path exclude all' command 13790/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 13 Jun 2023 12:53:03 +0000 (14:53 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 19 Jun 2023 16:04:44 +0000 (18:04 +0200)
commit92550adfc77d9d01a2d7a96d67d8a5d27f7b6877
tree03aba5159dd9ba8a06f27793648f166596715c53
parent0fb16305200113a92e3862e05d6833217f935211
bgpd: add 'set as-path exclude all' command

It is not possible to flush all the incoming as-path list
from a given BGP update.

Add a route-map set command to remove all as-paths
from a given AS path. Add the necessary tests.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
12 files changed:
bgpd/bgp_aspath.c
bgpd/bgp_aspath.h
bgpd/bgp_routemap.c
doc/user/bgp.rst
tests/topotests/bgp_set_aspath_exclude/__init__.py [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r3/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/r3/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_set_aspath_exclude/test_bgp_set_aspath_exclude.py [new file with mode: 0644]