1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/ztp-retrieving-the-host-firmware-schema.adoc
Aidan Reilly 8a806e5f40 Changes for TELCODOCS-336 deliver host firmware via GitOps ZTP
Tao and Ian's review comments
2024-09-24 10:54:36 +00:00

60 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * edge_computing/ztp-deploying-far-edge-sites.adoc
:_mod-docs-content-type: PROCEDURE
[id="ztp-retrieving-the-host-firmware-schema_{context}"]
= Retrieving the host firmware schema for a managed cluster
You can discover the host firmware schema for managed clusters.
The host firmware schema for bare-metal hosts is populated with information that the Ironic API returns.
The API returns information about host firmware interfaces, including firmware setting types, allowable values, ranges, and flags.
.Prerequisites
* You have installed the OpenShift CLI (`oc`).
* You have installed {rh-rhacm-first} and logged in to the hub cluster as a user with `cluster-admin` privileges.
* You have provisioned a cluster that is managed by {rh-rhacm}.
.Procedure
* Discover the host firmware schema for the managed cluster.
Run the following command:
+
[source,terminal]
----
$ oc get firmwareschema -n <managed_cluster_namespace> -o yaml
----
+
.Example output
[source,terminal]
----
apiVersion: v1
items:
- apiVersion: metal3.io/v1alpha1
kind: FirmwareSchema
metadata:
creationTimestamp: "2024-09-11T10:29:43Z"
generation: 1
name: schema-40562318
namespace: compute-1
ownerReferences:
- apiVersion: metal3.io/v1alpha1
kind: HostFirmwareSettings
name: compute-1.example.com
uid: 65d0e89b-1cd8-4317-966d-2fbbbe033fe9
resourceVersion: "280057624"
uid: 511ad25d-f1c9-457b-9a96-776605c7b887
spec:
schema:
AccessControlService:
allowable_values:
- Enabled
- Disabled
attribute_type: Enumeration
read_only: false
# ...
----