Skip to content

Complete EVPN Fabric sample and reconciliation support - #528

Open
felix-kaestner wants to merge 8 commits into
mainfrom
fabric
Open

Complete EVPN Fabric sample and reconciliation support#528
felix-kaestner wants to merge 8 commits into
mainfrom
fabric

Conversation

@felix-kaestner

Copy link
Copy Markdown
Contributor

Details in each commit..

Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
@github-actions

Copy link
Copy Markdown

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

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1 2.66% (-0.00%) 👎
github.com/ironcore-dev/network-operator/api/evpn/v1alpha1 0.00% (ø)
github.com/ironcore-dev/network-operator/cmd 0.00% (ø)
github.com/ironcore-dev/network-operator/internal/controller/core 61.69% (+0.04%) 👍
github.com/ironcore-dev/network-operator/internal/controller/evpn 81.09% (-0.98%) 👎
github.com/ironcore-dev/network-operator/internal/provider/cisco/nxos 9.77% (-0.02%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1/interface_types.go 3.70% (-0.14%) 27 (+1) 1 26 (+1) 👎
github.com/ironcore-dev/network-operator/api/evpn/v1alpha1/groupversion_info.go 0.00% (ø) 2 0 2
github.com/ironcore-dev/network-operator/cmd/main.go 0.00% (ø) 311 0 311
github.com/ironcore-dev/network-operator/internal/controller/core/ospf_controller.go 60.00% (+0.20%) 210 (+6) 126 (+4) 84 (+2) 👍
github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller.go 81.09% (-0.98%) 661 (+53) 536 (+37) 125 (+16) 👎
github.com/ironcore-dev/network-operator/internal/provider/cisco/nxos/provider.go 0.37% (-0.00%) 2142 (+6) 8 2134 (+6) 👎

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/core/ospf_controller_test.go
  • github.com/ironcore-dev/network-operator/internal/controller/evpn/fabric_controller_test.go
  • github.com/ironcore-dev/network-operator/internal/controller/evpn/suite_test.go

@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Aug 28, 2026
@hardikdr hardikdr added this to Roadmap Aug 28, 2026
Comment on lines +313 to +319
case totalAdjacencies == 0:
conditions.Set(fabric, metav1.Condition{
Type: evpnv1alpha1.UnderlayConvergedCondition,
Status: metav1.ConditionFalse,
Reason: evpnv1alpha1.NoResourcesReason,
Message: "No underlay adjacencies expected",
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition message seems off to me. Should it be No underlay adjacencies created yet to signal the reconciliation is not yet done, analogous to the overlay?

Otherwise, if no underlay adjacencies is a valid outcome. I would expect a case for fullAdjacencies == 0 && totalAdjacencies > 0 and one for fullAdjacencies == 0 && totalAdjacencies == 0.

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/L

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants