Change BootSourceOverrideMode from BIOS to Legacy

Because this is what DMTF schema [1] requires.

1. https://redfish.dmtf.org/schemas/ComputerSystem.v1_5_0.json

Co-Authored-By: Richard G. Pioso <richard.pioso@dell.com>
Story: 2002635
Task: 22277
Change-Id: Ib158b2ea974a9022893a2fb3400be4017e3ff7b2
This commit is contained in:
Ilya Etingof 2018-06-20 18:59:31 +02:00
parent 44de14add2
commit 31cdd0f951
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes malformed value of the ``BootSourceOverrideMode`` element which goes
against the Redfish schema and causes some of the boot mode calls to
fail.

View File

@ -65,7 +65,7 @@ BOOT_SOURCE_TARGET_MAP = {
BOOT_SOURCE_TARGET_MAP_REV = utils.revert_dictionary(BOOT_SOURCE_TARGET_MAP)
BOOT_SOURCE_MODE_MAP = {
'BIOS': sys_cons.BOOT_SOURCE_MODE_BIOS,
'Legacy': sys_cons.BOOT_SOURCE_MODE_BIOS,
'UEFI': sys_cons.BOOT_SOURCE_MODE_UEFI,
}