Skip to content

Kind · metal.platform-kit.org/v1alpha1

BiosSchema

A BiosSchema is the BIOS attribute registry of one machine. It tells you which attributes a BiosProfile can set on that machine, and which values they accept.

Group and version
metal.platform-kit.org/v1alpha1
Scope
Cluster.
Name
The name of its Host. The Host owns it.
Written by
Convergence controller, from the attribute registry that the BMC serves through Redfish. Do not edit it.
Status
None. The spec is the data.

The convergence controller writes the BiosSchema when it reads the BIOS of the machine. Before it proposes a change, it checks each wanted value in the BiosSettings against this schema. A wrong value stops the change with reason SchemaViolation. The machine never gets the value.

The schema can change after a firmware update. That is why firmware converges before BIOS.

FieldTypeDescription
attributesrequired[]objectAttributes lists the registry's entries, sorted by name. The operator checks the desired values of a BiosSettings against this list before it proposes an operation. Without the check, the machine would refuse an unknown attribute, and it would ignore a value out of range.
allowedValues[]stringAllowedValues enumerates the legal values; empty for non-enumerations.
namerequiredstring
typerequiredstringType is the registry's attribute type: Enumeration, Boolean, Integer or String — kept as served.
registrystringRegistry is the registry identity as the Bios resource advertises it, kept verbatim (e.g. BiosAttributeRegistry.v1_0_0).

Find the values that an attribute accepts:

Terminal window
$ kubectl get biosschema sim-0001 -o jsonpath='{.spec.attributes[?(@.name=="QuietBoot")]}'
{"name":"QuietBoot","type":"Boolean"}