mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
Add data structure to support get/set BootMode of the BMC
This commit is contained in:
parent
e70ed0f3f0
commit
e2d49ce2b2
@ -596,6 +596,20 @@ my %api_config_info = (
|
||||
type => "boolean",
|
||||
subcommand => "autoreboot",
|
||||
},
|
||||
RSPCONFIG_BOOT_MODE => {
|
||||
command => "rspconfig",
|
||||
url => "/control/host0/boot",
|
||||
attr_url => "BootMode",
|
||||
display_name => "BMC BootMode",
|
||||
instruct_msg => "",
|
||||
type => "attribute",
|
||||
subcommand => "bootmode",
|
||||
attr_value => {
|
||||
regular => "xyz.openbmc_project.Control.Boot.Mode.Modes.Regular",
|
||||
safe => "xyz.openbmc_project.Control.Boot.Mode.Modes.Safe",
|
||||
setup => "xyz.openbmc_project.Control.Boot.Mode.Modes.Setup",
|
||||
},
|
||||
},
|
||||
RSPCONFIG_POWERSUPPLY_REDUNDANCY => {
|
||||
command => "rspconfig",
|
||||
url => "/sensors/chassis/PowerSupplyRedundancy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user