ipmcset -t vmm -d connect
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t vmm -d connect
命令功能
挂载虚拟介质
命令格式
text
ipmcset -t vmm -d connect -v <URL> [-s <systemid>]参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
SystemId | ReqHeader | - | 否 | - | - | - |
URL | ReqBody | string | 是 | - | [{"Type": "Regex", "Formula": "^(https|nfs|cifs).*"}] | e.g.: protocol://[username:password@]IP[:port]/directory/filename The parameters in the URL are described as follows: The protocol must be nfs, cifs, or https. The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. The password cannot contain commas (,). Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). Escape the double quotation marks (") and back slash () contained in the URL. For example, if you want to enter: a b\cd" Enter: "a b\cd"" |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
TaskId | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Task | /bmc/kepler/Managers/1/VirtualMedia/CD | bmc.kepler.Managers.VirtualMedia.CD | InsertMedia | - | {"TaskId": "TaskId"} |
| 2 | Task | /bmc/kepler/Systems/1/VirtualMedia/CD | bmc.kepler.Systems.VirtualMedia.CD | InsertMedia | - | {"TaskId": "TaskId"} |
| 3 | Task | /bmc/kepler/Systems/2/VirtualMedia/CD | bmc.kepler.Systems.VirtualMedia.CD | InsertMedia | - | {"TaskId": "TaskId"} |
使用示例
text
ipmcset -t vmm -d connect -v <URL> [-s <systemid>]输出样例
| Scenario | Output | Source |
|---|---|---|
| 处理中 | Connect virtual media... | interface_config/cli/echoes/ipmcset/vmm_connect |
| 失败 | Connect virtual media failed. | interface_config/cli/echoes/ipmcset/vmm_connect |
| 成功 | Connect virtual media successfully. | interface_config/cli/echoes/ipmcset/vmm_connect |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | vmm |
| dataitem | connect |
| URI | /cli/v1/vmm/connect |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/vmm.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |