Expand description
BGP capability negotiation types and codec (RFC 5492).
Structs§
- AddPath
Family - Per-AFI/SAFI entry in the Add-Path capability (RFC 7911 §4).
- Extended
Next HopFamily - Per-family entry in the Extended Next Hop Encoding capability (RFC 8950).
- Graceful
Restart Family - Per-AFI/SAFI entry in the Graceful Restart capability (RFC 4724 §3).
- Llgr
Family - Per-AFI/SAFI entry in the Long-Lived Graceful Restart capability (RFC 9494).
Enums§
- AddPath
Mode - Add-Path send/receive mode per AFI/SAFI (RFC 7911 §4).
- Afi
- Address Family Identifier (IANA).
- Capability
- BGP capability as negotiated in OPEN optional parameters.
- Safi
- Subsequent Address Family Identifier (IANA).
Functions§
- decode_
optional_ parameters - Decode all optional parameters from an OPEN message body. Returns capabilities found in parameter type 2 TLVs.
- encode_
optional_ parameters - Encode capabilities as OPEN optional parameters (parameter type 2).