Skip to content

Add ServerNetworkConfig CRD and network topology check at Discovery #819

@xkonni

Description

@xkonni

Implement the ServerNetworkConfig CRD and network topology gate at the Discovery → Available transition.

Scope

  • Cluster-scoped ServerNetworkConfig (snc) CRD, auto-created by metal-operator at Discovery start
  • spec.interfaces: expected topology per MAC — written by external apps (argora/NetBox)
  • status.interfaces: discovered state after each probe run — IPs, carrierStatus, speed, LLDP neighbors
  • NetworkCheck condition on Server.Status.Conditions; gate is opt-in via spec.interfaces
spec.interfaces gate condition.reason server proceeds?
empty off NoConstraint Yes
populated, discovery not yet run on, waiting Pending No
populated, all matched on Passed Yes
populated, mismatch found on Failed No

Done

Implemented in PR #777.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions