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

返回总览

命令功能

调用 Redfish 接口

命令格式

ipmcset -t maintenance -d callredfish -v <uri> <method> <data> <header>

命令类型

ipmcset

参数说明

NameTypeRequiredDefaultConstraintDescription
uristring-Type: Script; if string.match(Input, '^/redfish') == nil or string.match(Input, '%.%/') ~= nil then local err = base_messages.PropertyValueFormatError(Input, 'uri') err.RelatedProperties = {'#/uri'} error(err) end return trueMust start with '/redfish'
methodstring-Type: Enum; Enum: GET, PATCH, POST, DELETEMethod types are: GET, PATCH, POST, DELETE
datastring--Must be JSON character or null
headerstring--Must be JSON character or null

输出样例

Invalid data
Invalid header
get curl handler failed
Send http msg failed, err: <value>

配置来源

interface_config/cli/ipmcset/maintenance.json