-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BMP Adj-RIB-Out (RFC8671), ECMP Support and Loc-RIB missing features #14847
base: master
Are you sure you want to change the base?
Conversation
dd26d14
to
e9b64c5
Compare
98a978c
to
c4572c5
Compare
7ab2e3a
to
4234476
Compare
ci:rerun |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
2597d3f
to
4e8dca8
Compare
72ca5f7
to
c0c8458
Compare
I guess we need to fix the conflicts now before we can get back to the failures ... rebasing might help with the ci failures anyway |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@mxyns could you rebase and force push? |
bgpd: changed bmp config to include bmp monitor rib-out bgpd: added rib-out pre-policy & post-policy monitoring bgpd: bmp sync for rib-out pre and post bgpd: added missing out-pre hook bump bmp sessions on bmp reconfigure to run sync immediately lib, bgpd: added pullwr_timeout, added bmp startup-delay command bgpd: bmp added bmp session state to bmp show doc: bmp updated documentation with new commands bgpd: bmp add rib-out post-policy stats bgpd: bmp add adj-rib-in stats bgpd: bmp add loc-rib stats bgpd: bmp multipath support for adj-rib-in pre-policy bgpd: bmp multipath support for adj-rib-out post-policy bgpd: bmp multipath support for adj-rib-in post-policy bgpd: bmp multipath support for loc-rib bgpd: bmp multipath support for rib-out-pre bgpd: bmp add multipath syncing, fix startup-delay cmd bgpd: bmp simplify bpi locking system, add show bmp locked bgpd: remove locked path in bqe, fix withdraw flag, fix lbpi hash & cmp bgpd: no addpath id in mpls vpn case bgpd: peer types and peer distinguisher in all bmp messages Signed-off-by: Maxence Younsi <[email protected]>
992bfd7
to
5407757
Compare
77b979d
to
5b95fbb
Compare
9b939ce
to
16a4d73
Compare
add multipath test and rename ribs add rd statement to vrf configuration now bmp cannot export information about a VRF without the RD being set (it is required for RD Instance Peer to have a Peer Distinguisher) change expected output for bgp_bmp tests also add dashes in ADJ_[IN|OUT]_[PRE|POST]_POLICY constants to have spaceless file names add add-path to nlri parsing add bmpserver exception printing add 3rd peer in topotest for ecmp Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
fixed nits & styling issues fixed bad conditions in bmp_bpi_(un)lock added bgp_peer_get_send_holdtime added bgp_peer_get_local_as Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
check for null stream in bmp_send_peerup_vrf (which can happen when RD is not found) use bmp_send_all_safe instead of bmp_send_all in bmp_vrf_itf_state_changed Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
Signed-off-by: Maxence Younsi <[email protected]>
16a4d73
to
d94e6ca
Compare
hi @riw777 @ton31337 |
d94e6ca
to
b327439
Compare
Signed-off-by: Maxence Younsi <[email protected]>
b327439
to
f49f7cf
Compare
I don't think the lint issues are a problem ... we need to figure out the ci though. :-( |
@riw777 for the CI, i sadly can't fix it myself, no test runs on my machine using ASAN and everything else passes on my machine. do you know anybody that could have a look into it? the bmp test fails only in the address sanitizer part not the normal one so maybe it is waiting time that is too low? there's also a leak found by asan which is related to "rfapiBiStartWithdrawTimer", not bmp so idk what to do? bmp asan leak found
the other fail is also rfapi related but this time it's a cleanup test that fails. there's no error log that i found in this test and it only fails on a platform i can't test on.
******************************************************************************
Test Target Summary Pass Fail
******************************************************************************
FILE: scripts/add_routes.py
1 r1 Opened RFAPI 1 0
2 r1 Clean query 1 0
3 r1 Local registration +0.01 secs 1 0
4 r1 Query self 1 0
5 r3 Opened RFAPI 1 0
6 r3 Local registration +0.02 secs 1 0
7 r3 Self excluded 1 0
8 r3 Opened query only RFAPI 1 0
9 r3 See local 1 0
10 r4 Opened RFAPI 1 0
11 r4 Local registration +0.01 secs 1 0
12 r4 Query self 1 0
13 r4 Local registration +0.01 secs 1 0
14 r4 Query self MP 1 0
FILE: scripts/adjacencies.py
15 r1 PE->P2 (loopback) ping +14.65 secs 1 0
16 r3 PE->P2 (loopback) ping +0.00 secs 1 0
17 r4 PE->P2 (loopback) ping +0.01 secs 1 0
18 r2 Core adjacencies up +0.02 secs 1 0
19 r1 All adjacencies up +0.02 secs 1 0
20 r3 All adjacencies up +0.02 secs 1 0
21 r4 All adjacencies up +0.02 secs 1 0
22 r1 PE->PE3 (loopback) ping +0.00 secs 1 0
23 r1 PE->PE4 (loopback) ping +0.00 secs 1 0
FILE: scripts/check_routes.py
24 r1 See all registrations +1.06 secs 1 0
25 r3 See all registrations +0.01 secs 1 0
26 r4 See all registrations +0.02 secs 1 0
27 r1 VPN SAFI okay 1 0
28 r2 VPN SAFI okay 1 0
29 r3 VPN SAFI okay 1 0
30 r4 VPN SAFI okay 1 0
31 r1 Query R2s info 1 0
32 r1 Query R4s info 1 0
33 r3 Query R1s+R4s info 1 0
34 r3 Query R4s info 1 0
35 r4 Query R1s+R4s info 1 0
36 r4 Query R2s info 1 0
FILE: scripts/check_close.py
37 r1 Opened RFAPI 1 0
38 r1 Local registration +0.01 secs 1 0
39 r3 See registration +0.53 secs 1 0
40 r4 See registration +0.02 secs 1 0
41 r1 Closed RFAPI 1 0
42 r1 See cleanup +0.02 secs 1 0
43 r3 See cleanup +0.54 secs 1 0
44 r4 See cleanup +0.02 secs 1 0
45 r1 Out of holddown +0.02 secs 1 0
46 r3 Out of holddown +0.01 secs 1 0
47 r4 Out of holddown +0.01 secs 1 0
FILE: scripts/check_timeout.py
48 r1 Holddown factor not set -- skipping test 1 0
FILE: scripts/cleanup_all.py
49 r1 Local registration removed +0.02 secs 1 0
50 r1 Closed RFAPI 1 0
51 r3 Local registration removed +0.01 secs 1 0
52 r3 Closed RFAPI 1 0
53 r4 Local registration removed +0.02 secs 1 0
54 r4 Cleared NVEs 1 0
55 r1 All registrations cleared +0.01 secs 1 0
56 r3 All registrations cleared +0.01 secs 1 0
57 r4 All registrations cleared +0.01 secs 1 0
58 r1 VPN SAFI clear 0 1
59 r2 VPN SAFI clear 1 0
60 r3 VPN SAFI clear 1 0
61 r4 VPN SAFI clear 1 0
62 r1 No holddowns +0.01 secs 1 0
63 r3 No holddowns +0.01 secs 1 0
64 r4 No holddowns +0.01 secs 1 0
******************************************************************************
Total 64 63 1
******************************************************************************
|
Global:
Add support for Adj-RIB-Out monitoring in BMP:
Add ECMP support in BMP:
Add Loc-RIB missing features:
Missing: