diff options
| author | mxyns <mx.yns@outlook.fr> | 2022-07-28 16:11:47 +0200 |
|---|---|---|
| committer | Maxence Younsi <mx.yns@outlook.fr> | 2023-11-04 12:17:48 +0100 |
| commit | f83857832f6083b27ea40fda1bd32a2095fbfc27 (patch) | |
| tree | 12c48da02fd4fbfb4333e4513923df8124dc6b2f /ospfclient/ospfclient.py | |
| parent | f9af3476db4734e6994b24d67269993e7d659ef2 (diff) | |
bgpd: bmp loc-rib RFC9069 compliant monitoring messages
set field peer bgp id to the peer's remote id in every case except loc-rib (RFC9069 case) in which we put the bgp instance's router-id if available or 0-filled if not available
set field peer asn to local primary bgp asn in case of loc-rib instance (RFC9069) else it's set to the peer's asn
set field peer address to 0 in loc-rib instance (RFC9069 case) and to the peer's address in other cases
had to pass struct bgp reference to bmp_per_peer_hdr to access router-id and such, but it's always safely accessed when used
Signed-off-by: Maxence Younsi <mx.yns@outlook.fr>
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions
