Follow-up to Include bios registry fields in bios API
This commit is a follow-up to Ie86ec57e428e2bb2efd099a839105e51a94824ab Story: #2008571 Task: #42546 Change-Id: I6fa4658180772ff9c4ff00f95b28cf8a1b5d4223
This commit is contained in:
parent
e15440370c
commit
26cf25d98a
@ -111,7 +111,7 @@ Show single Bios setting of a Node
|
|||||||
Return the content of the specific bios ``bios_setting`` associated with
|
Return the content of the specific bios ``bios_setting`` associated with
|
||||||
``node_ident``.
|
``node_ident``.
|
||||||
|
|
||||||
. versionadded:: 1.74
|
.. versionadded:: 1.74
|
||||||
Introduced fields from the BIOS registry.
|
Introduced fields from the BIOS registry.
|
||||||
|
|
||||||
Normal response code: 200
|
Normal response code: 200
|
||||||
|
@ -155,7 +155,7 @@ class BIOSSetting(base.IronicObject):
|
|||||||
|
|
||||||
for field in self.get_registry_fields():
|
for field in self.get_registry_fields():
|
||||||
field_is_set = self.obj_attr_is_set(field)
|
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
|
# target version supports the major/minor specified
|
||||||
if not field_is_set:
|
if not field_is_set:
|
||||||
# set it to its default value if it is not set
|
# set it to its default value if it is not set
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
features:
|
features:
|
||||||
- |
|
- |
|
||||||
Provide the registry fields in the BIOS setting API and in the BIOS setting
|
Provides 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.
|
list when detail is requested. Also adds fields selector to query API.
|
||||||
See `story
|
See `story
|
||||||
2008571 <https://storyboard.openstack.org/#!/story/2008571>`_.
|
2008571 <https://storyboard.openstack.org/#!/story/2008571>`_.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user