mirror_frr/tests
Alexander Chernavin 05ab8ceda4 bgpd: fix "bgp max-med on-startup"
Currently, if `bgp max-med on-startup` is configured, after BGP session
is established for the first time, a timer for the specified time is
started. When the timer is expired, an UPDATE message should be sent to
reflect changes in the routes' MED value. The problem is that the routes
are being suppressed because based on the attributes they look like they
have not changed. However, in the case of max-med, the value is copied
to the packet directly from `bgp->maxmed_value`, not from the
attributes. Thus, changes in this case cannot be detected by comparing
attributes.

With this fix, avoid route suppressing when the `max-med on-startup`
timer expires and initiates an UPDATE.

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
2022-10-11 10:45:06 +00:00
..
bgpd bgpd: Add RFC9234 implementation 2022-06-17 13:14:46 +03:00
helpers *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
isisd Revert "isisd: fix metric calculation of classic lfa backup prefixes" 2022-07-10 21:40:43 +03:00
lib tests: make hash collision test collide harder 2022-10-06 15:28:26 +02:00
ospf6d build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00
ospfd ospfd: add all_rtrs route table when opaque enabled 2022-06-02 16:37:16 -04:00
topotests bgpd: fix "bgp max-med on-startup" 2022-10-11 10:45:06 +00:00
zebra build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00
.gitignore tests: new grpc topotest 2022-03-14 11:14:12 -04:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00