diff --git a/api-ref/source/baremetal-api-v1-nodes-bios.inc b/api-ref/source/baremetal-api-v1-nodes-bios.inc index 887e2029a9..c97026c155 100644 --- a/api-ref/source/baremetal-api-v1-nodes-bios.inc +++ b/api-ref/source/baremetal-api-v1-nodes-bios.inc @@ -111,7 +111,7 @@ Show single Bios setting of a Node Return the content of the specific bios ``bios_setting`` associated with ``node_ident``. -. versionadded:: 1.74 +.. versionadded:: 1.74 Introduced fields from the BIOS registry. Normal response code: 200 diff --git a/ironic/objects/bios.py b/ironic/objects/bios.py index cb6718074f..4462ca5266 100644 --- a/ironic/objects/bios.py +++ b/ironic/objects/bios.py @@ -155,7 +155,7 @@ class BIOSSetting(base.IronicObject): for field in self.get_registry_fields(): field_is_set = self.obj_attr_is_set(field) - if target_version >= (1, 74): + if target_version >= (1, 1): # target version supports the major/minor specified if not field_is_set: # set it to its default value if it is not set diff --git a/releasenotes/notes/bios-registry-support-e7fd62908e9c222d.yaml b/releasenotes/notes/bios-registry-support-e7fd62908e9c222d.yaml index adb49983ed..5db1d7605b 100644 --- a/releasenotes/notes/bios-registry-support-e7fd62908e9c222d.yaml +++ b/releasenotes/notes/bios-registry-support-e7fd62908e9c222d.yaml @@ -1,8 +1,8 @@ --- features: - | - Provide the registry fields in the BIOS setting API and in the BIOS setting - list when detail is requested. Also added fields selector to query API. + Provides the registry fields in the BIOS setting API and in the BIOS setting + list when detail is requested. Also adds fields selector to query API. See `story 2008571 `_.