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.
Implement the
ServerNetworkConfigCRD and network topology gate at the Discovery → Available transition.Scope
ServerNetworkConfig(snc) CRD, auto-created by metal-operator at Discovery startspec.interfaces: expected topology per MAC — written by external apps (argora/NetBox)status.interfaces: discovered state after each probe run — IPs, carrierStatus, speed, LLDP neighborsNetworkCheckcondition onServer.Status.Conditions; gate is opt-in viaspec.interfacesspec.interfacescondition.reasonNoConstraintPendingPassedFailedDone
Implemented in PR #777.