Skip to content

Support iBGP EVPN multipath in Fabric overlay - #706

Merged
swagner-de merged 1 commit into
mainfrom
fabric-ibgp-evpn-multipath
Nov 3, 2026
Merged

swagner-de merged 1 commit into
mainfrom
fabric-ibgp-evpn-multipath

Conversation

@swagner-de

Copy link
Copy Markdown
Collaborator

Adds an optional maximumPaths field to FabricIBGPSpec that sets the maximum number of equal-cost iBGP paths for the L2VPN EVPN address family on every device in the fabric.

The Fabric controller propagates it into the generated per-device BGP resource's EVPN multipath configuration, which realizes to maximum-paths ibgp <n> on Cisco NX-OS. When omitted, the platform default (single best path) applies.

Changes

  • FabricIBGPSpec.maximumPaths (optional *int8, validated 1–64) + regenerated CRDs/deepcopy/charts
  • reconcileBGP sets l2vpnEvpn.multipath.ibgp.maximumPaths when configured
  • Sample Fabric manifest and controller test coverage

@github-actions github-actions Bot added the size/M label Nov 3, 2026
felix-kaestner
felix-kaestner previously approved these changes Nov 3, 2026
@swagner-de
swagner-de force-pushed the fabric-ibgp-evpn-multipath branch 2 times, most recently from 4f1278d to 1a95008 Compare November 3, 2026 13:36
nikatza
nikatza previously approved these changes Nov 3, 2026
Comment thread config/samples/v1alpha1_fabric.yaml Resolved
Add an optional maximumPaths field to FabricIBGPSpec that sets the
maximum number of equal-cost iBGP paths for the L2VPN EVPN address
family on every device in the fabric. The Fabric controller propagates
it into the generated per-device BGP resource's EVPN multipath
configuration (maps to "maximum-paths ibgp <n>" on Cisco NX-OS).

When omitted, the platform default (single best path) applies.

Signed-off-by: Sebastian Wagner <sebastian.wagner02@sap.com>
@swagner-de
swagner-de merged commit f5ee53e into main Nov 3, 2026
25 checks passed
@swagner-de
swagner-de deleted the fabric-ibgp-evpn-multipath branch November 3, 2026 13:46
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 2 increase)

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/api/evpn/v1alpha1 0.00% (ø)
github.com/ironcore-dev/network-operator/internal/controller/core 62.40% (+0.12%) 👍
github.com/ironcore-dev/network-operator/internal/controller/evpn 79.94% (-0.21%) 👎
github.com/ironcore-dev/network-operator/internal/controller/pool 73.63% (+1.05%) 👍
Coverage details

Compared to commit 218d753 (run #41634355007)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/api/evpn/v1alpha1/fabric_types.go 0.00% (ø) 5 0 5
github.com/ironcore-dev/network-operator/api/evpn/v1alpha1/zz_generated.deepcopy.go 0.00% (ø) 163 (+4) 0 163 (+4)
github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller.go 79.94% (-0.21%) 668 (+3) 534 (+1) 134 (+2) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files:

  • github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller_test.go

@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Nov 9, 2026
@hardikdr hardikdr added this to Roadmap Nov 9, 2026
@github-project-automation github-project-automation Bot moved this to Done in Roadmap Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/switch-automation Automation processes for network switch management and operations. size/M

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants