Skip to content

Add HTTP server for Provisioning and maintenance annotations#157

Merged
swagner-de merged 3 commits intomainfrom
feat/gnoi-annotation
Jan 28, 2026
Merged

Add HTTP server for Provisioning and maintenance annotations#157
swagner-de merged 3 commits intomainfrom
feat/gnoi-annotation

Conversation

@swagner-de
Copy link
Copy Markdown
Contributor

@swagner-de swagner-de commented Jan 27, 2026

  • Add provisioning HTTP servers
  • feat: Allow device reboot/reset/reprovisioning through annotation
  • fix(provisioning): Device unable to exit provisioning state

@swagner-de swagner-de requested a review from a team as a code owner January 27, 2026 11:12
@swagner-de swagner-de force-pushed the feat/gnoi-annotation branch 4 times, most recently from 367dd4f to 95a1cdb Compare January 27, 2026 13:47
@swagner-de swagner-de force-pushed the feat/gnoi-annotation branch from 95a1cdb to 29c0607 Compare January 27, 2026 16:44
This commit adds a HTTP server that enables a device which is being
provisioned to get its configuration via HTTP. Devices can also report
their status and thus transition out of the Provisioning Phase.
@swagner-de swagner-de force-pushed the feat/gnoi-annotation branch from 29c0607 to c003e35 Compare January 27, 2026 17:00
@swagner-de swagner-de enabled auto-merge (rebase) January 27, 2026 17:09
@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Jan 28, 2026
@hardikdr hardikdr added this to Roadmap Jan 28, 2026
@swagner-de swagner-de force-pushed the feat/gnoi-annotation branch from c003e35 to 112cc35 Compare January 28, 2026 09:25
@swagner-de swagner-de merged commit 80ea330 into main Jan 28, 2026
9 checks passed
@swagner-de swagner-de deleted the feat/gnoi-annotation branch January 28, 2026 09:26
@github-project-automation github-project-automation bot moved this to Done in Roadmap Jan 28, 2026
@github-actions
Copy link
Copy Markdown

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

Impacted Packages Coverage Δ 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1 0.00% (ø)
github.com/ironcore-dev/network-operator/cmd 0.00% (ø)
github.com/ironcore-dev/network-operator/internal/controller/core 67.12% (-0.42%) 👎
github.com/ironcore-dev/network-operator/internal/deviceutil 40.79% (+4.97%) 👍
github.com/ironcore-dev/network-operator/internal/provider 48.00% (ø)
github.com/ironcore-dev/network-operator/internal/provider/cisco/nxos 11.14% (-0.13%) 👎
github.com/ironcore-dev/network-operator/internal/provisioning 77.36% (+77.36%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/ironcore-dev/network-operator/api/core/v1alpha1/groupversion_info.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/cmd/main.go 0.00% (ø) 0 0 0
github.com/ironcore-dev/network-operator/internal/controller/core/device_controller.go 64.76% (-5.96%) 210 (+29) 136 (+8) 74 (+21) 👎
github.com/ironcore-dev/network-operator/internal/deviceutil/deviceutil.go 40.79% (+4.97%) 76 (+9) 31 (+7) 45 (+2) 👍
github.com/ironcore-dev/network-operator/internal/provider/cisco/nxos/provider.go 0.07% (-0.00%) 1444 (+11) 1 1443 (+11) 👎
github.com/ironcore-dev/network-operator/internal/provider/cisco/nxos/system.go 5.26% (-14.74%) 19 (+14) 1 18 (+14) 💀
github.com/ironcore-dev/network-operator/internal/provider/provider.go 48.00% (ø) 25 12 13
github.com/ironcore-dev/network-operator/internal/provisioning/http.go 77.36% (+77.36%) 265 (+265) 205 (+205) 60 (+60) 🌟

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/device_controller_test.go
  • github.com/ironcore-dev/network-operator/internal/controller/core/suite_test.go
  • github.com/ironcore-dev/network-operator/internal/provisioning/http_test.go

@hardikdr hardikdr added the area/switch-automation Automation processes for network switch management and operations. label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project. area/switch-automation Automation processes for network switch management and operations.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants