]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Remove private AS numbers if local-as is defined
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Sat, 2 Mar 2019 20:36:31 +0000 (22:36 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 26 Mar 2019 17:03:07 +0000 (19:03 +0200)
commit6b5a72a32617e26dbab8f0422e14544668f82037
tree736136f0d8c9bcd1516cc77a0aeaac1eaed572ca
parent700e9faa28bbdc3460e1d7aa109b6e4acaf347b3
bgpd: Remove private AS numbers if local-as is defined

When using remove-private-AS together with local-as
aspath_remove_private_asns() is called before bgp_packet_attribute().

In this case, private AS will always appear in front of change_local_as.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_attr.c
tests/topotests/bgp_local_as_private_remove/__init__.py [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r3/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r3/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r4/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/r4/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_local_as_private_remove/test_bgp_local_as_private_remove.py [new file with mode: 0644]