Skip to content

BMP External Collector Support in SONiC#2366

Open
kalash-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:bmp-external-collector-hld
Open

BMP External Collector Support in SONiC#2366
kalash-nexthop wants to merge 1 commit into
sonic-net:masterfrom
nexthop-ai:bmp-external-collector-hld

Conversation

@kalash-nexthop

@kalash-nexthop kalash-nexthop commented Jun 5, 2026

Copy link
Copy Markdown

Adds a High-Level Design document for configurable BMP collectors in SONiC. Today bgpd streams BMP only to the on-box openbmpd (hard-coded 127.0.0.1:5000); this feature lets operators stream to one or more external collectors of their choice and control the feed, avoiding the on-box collector's memory cost at high route scale.

The HLD covers:

  • CONFIG_DB + YANG model: BMP_TARGET, BMP_TARGET_COLLECTOR, BMP_TARGET_AFI_SAFI, and global mirror-buffer-limit
  • Per-target, per-AFI/SAFI monitoring (Adj-RIB-In pre/post, Loc-RIB), mirroring, stats, retry timers, and source-interface
  • Rendering onto FRR's native BMP config via both bgpcfgd and frrcfgd, preserving the existing on-box default for backward compatibility

Related PR: sonic-net/sonic-buildimage#24965

Adds a High-Level Design for configurable BMP collectors in SONiC: multiple targets, external collectors, per-AFI/SAFI monitoring (Adj-RIB-In pre/post, Loc-RIB), route mirroring, stats interval, per-collector retry timers and source-interface, and a global mirror buffer limit. Maps a new CONFIG_DB/YANG model onto FRR's native BMP configuration while preserving the existing on-box openbmpd default.

Signed-off-by: Kalash Nainwal <kalash@nexthop.ai>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants