ipmcset -t maintenance -d importcsr
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t maintenance -d importcsr
命令功能
导入 CSR 证书签名请求
命令格式
text
ipmcset -t maintenance -d importcsr -v <option> <filepath>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
option | ReqBody | string | 是 | - | - | - |
filepath | ReqBody | string | 是 | - | [{"Type": "Regex", "Formula": "^/tmp/.{1,246}\.hpm$"}] | e.g.: /tmp/image.hpm |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
GetRealUpgradePath | RspBody | - | 否 | - | - | - |
TaskId | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Task | /bmc/kepler/UpdateService/Maintenance/Csr | bmc.kepler.UpdateService.Maintenance | Import | - | {"TaskId": "TaskId"} |
使用示例
text
ipmcset -t maintenance -d importcsr -v <option> <filepath>输出样例
| Scenario | Output | Source |
|---|---|---|
| 处理中 | Importing ... | interface_config/cli/echoes/ipmcset/maintenance_importcsr |
| 成功 | Import csr successfully, Start to upgrade. | interface_config/cli/echoes/ipmcset/maintenance_importcsr |
| 其他 | No such file or directory. | interface_config/cli/echoes/ipmcset/maintenance_importcsr |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | maintenance |
| dataitem | importcsr |
| URI | /cli/v1/maintenance/importcsr |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/maintenance.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |