Skip to content

Why is UefiTargetBootSourceOverride verified when BootSourceOverrideMode is set to UEFI? not when BootSourceOverrideTarget is set to UefiTarget #168

Description

@HanCJiang

In OCPServerHardwareManagement.v1_1_0.json

"Boot": {
					"PropertyRequirements": {
						"BootSourceOverrideEnabled": {},
						"BootSourceOverrideMode": {
							"ReadRequirement": "Recommended"
						},
						"BootSourceOverrideTarget": {},
						"UefiTargetBootSourceOverride": {
							"ReadRequirement": "Recommended",
							"ConditionalRequirements": [{
								"Purpose": "If UEFI mode is selected, must allow for UEFI target.",
								"CompareProperty": "BootSourceOverrideMode",
								"CompareType": "Equal",
								"CompareValues": ["UEFI"],
								"ReadRequirement": "Mandatory"
							}]
						}
					}
				}

Since the DMTF CSDL .

    <Property Name="UefiTargetBootSourceOverride" Type="Edm.String">
      <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
      <Annotation Term="OData.Description" String="The UEFI device path of the device from which to boot when `BootSourceOverrideTarget` is `UefiTarget`."/>
      <Annotation Term="OData.LongDescription" String="This property shall contain the UEFI device path of the override boot target.  Changes to this property do not alter the BIOS persistent boot order configuration."/>
    </Property>

it should be modified to
"Purpose": "If UEFI mode is selected, must allow for UEFI target.", => "Purpose": "If UefiTarget mode is selected, must allow for UEFI target.",
"CompareProperty": "BootSourceOverrideMode" = > "CompareProperty": "BootSourceOverrideTarget"
"CompareValues": ["UEFI"] => "CompareValues": ["UefiTarget"]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions