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

ipmcset -t maintenance -d callredfish

返回总览 | 返回命令索引

命令功能

调用 Redfish 接口

命令格式

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

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
uriReqBodystring-[{"Type": "Script", "Formula": "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 true"}]Must start with '/redfish'
methodReqBodystring-[{"Type": "Enum", "Formula": ["GET", "PATCH", "POST", "DELETE"]}]Method types are: GET, PATCH, POST, DELETE
dataReqBodystring--Must be JSON character or null
headerReqBodystring--Must be JSON character or null

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
PwdValidRspBody----
RedfishValidRspBody----

后端处理流

使用示例

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

输出样例

ScenarioOutputSource
其他Please input your username and password in the format "username:password"interface_config/cli/echoes/ipmcset/maintenance_callredfish
失败Invalid datainterface_config/cli/echoes/ipmcset/maintenance_callredfish
失败Invalid headerinterface_config/cli/echoes/ipmcset/maintenance_callredfish
失败get curl handler failedinterface_config/cli/echoes/ipmcset/maintenance_callredfish
失败Send http msg failed, err: <value>interface_config/cli/echoes/ipmcset/maintenance_callredfish

来源信息

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