ipmcset -t maintenance -d upgradebios
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -t maintenance -d upgradebios

返回总览 | 返回命令索引

命令功能

升级 BIOS 组件

命令格式

text
ipmcset -t maintenance -d upgradebios -v <filepath>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
filepathReqBodystring--e.g.: /tmp/image.hpm Note: 1.It can only be executed when OS is power-off.

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
GetRealUpgradePathRspBody----
PowerStateRspBody----
SoftwareNameRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Task/bmc/kepler/UpdateServicebmc.kepler.UpdateServiceStartUpgrade--
2Property/bmc/kepler/UpdateService/FirmwareInventory/Biosbmc.kepler.UpdateService.FirmwareInfo-{"Parameters": "${Statements/GetBiosUpgradeTable()}"}-
3List/bmc/kepler/Systems/1/FruCtrl---{"Members": "FruCtrlList"}
4Property${ProcessingFlow[3]/Destination/FruCtrlList[1]}bmc.kepler.Systems.FruCtrl--{"PowerState": "PowerState"}
5Property/bmc/kepler/Managers/1/BMCbmc.kepler.Managers.BMC--{"SoftwareName": "SoftwareName"}

使用示例

text
ipmcset -t maintenance -d upgradebios -v <filepath>

输出样例

ScenarioOutputSource
处理中Please make sure the <value> is working while upgrading. Updating...interface_config/cli/echoes/ipmcset/maintenance_upgradebios
处理中It can only be executed when OS is power-off.interface_config/cli/echoes/ipmcset/maintenance_upgradebios
成功Upgrade successfully.interface_config/cli/echoes/ipmcset/maintenance_upgradebios

来源信息

ItemValue
命令类型ipmcset
targetmaintenance
dataitemupgradebios
URI/cli/v1/maintenance/upgradebios
Interface TypePatch
配置来源interface_config/cli/ipmcset/maintenance.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37