summaryrefslogtreecommitdiffstats
path: root/doc/developer/bmp.rst
blob: 1c0e4b045426ad042ae40eea7ee0d8cf2b808566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. _bmp:

***
BMP
***

RFC 7854
========
Missing features (non exhaustive):
  - Per-Peer Header

    - Peer Type Flag
    - Peer Distingsher

  - Peer Up

    - Reason codes (according to TODO comments in code)

Peer Type Flag and Peer Distinguisher can be implemented easily using RFC 9069's base code.

RFC 9069
========
Everything that isn't listed here is implemented and should be working.
Missing features (should be exhaustive):

- Per-Peer Header

  - Timestamp

    - set to 0
    - value is now saved `struct bgp_path_info -> locrib_uptime`
    - needs testing

- Peer Up/Down

  - VRF/Table Name TLV

    - code for TLV exists
    - need better RFC understanding

- Peer Down Only

  - Reason code (bc not supported in RFC 7854 either)

- Statistics Report

  - Stat Type = 8: (64-bit Gauge) Number of routes in Loc-RIB.
  - Stat Type = 10: Number of routes in per-AFI/SAFI Loc-RIB. The value is
    structured as: 2-byte AFI, 1-byte SAFI, followed by a 64-bit Gauge.