diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2024-10-30 21:57:35 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2024-12-11 11:29:37 +0100 |
| commit | 3c68228a05d158072bad2679d3fb4ad2bac8f35a (patch) | |
| tree | 1ce500c5c3292d0ce525eeae1ce43b580dcf2a9b /pimd/pim_errors.h | |
| parent | b7059a8fd9bf3d9161669c20be218c13e5972a3b (diff) | |
bgpd: bmp, add peer distinguisher support for peer up/down
All BMP peer up/down messages send a 0:0 peer distinguisher.
This will not be ok when adding RD instance type.
Add code to get the peer distinguisher value.
- modify the API to pass the BGP instance instead of BMP.
- implement error cases with an unknown vrf identifier or a
peer type with local type value.
- handle the error return of the API; consequently, handle
the bmp_peerstate() error return in the calling functions.
There is no functional change, as the peer type value is
either loc-rib or global, both cases are already handled.
The next commit will handle the RD instance case.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pimd/pim_errors.h')
0 files changed, 0 insertions, 0 deletions
