ipmcset -t ntp -d groupkey
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t ntp -d groupkey
命令功能
导入 NTP 组密钥
命令格式
text
ipmcset -t ntp -d groupkey -v <filepath>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
filepath | ReqBody | string | 是 | - | - | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
IsLocalFile | RspBody | - | 否 | - | - | - |
GetFileExist | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | List | /bmc/kepler/Managers | bmc.kepler.Managers.Ntp.Auth | - | - | {"Members": "ntp_list"} |
| 2 | Method | ${ProcessingFlow[1]/Destination/ntp_list[1]} | bmc.kepler.Managers.Ntp.Auth | ImportGroupKey | - | - |
使用示例
text
ipmcset -t ntp -d groupkey -v <filepath>输出样例
| Scenario | Output | Source |
|---|---|---|
| 失败 | Import NTP group key failed. | interface_config/cli/echoes/ipmcset/ntp_groupkey |
| 成功 | Set NTP group key successfully. | interface_config/cli/echoes/ipmcset/ntp_groupkey |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | ntp |
| dataitem | groupkey |
| URI | /cli/v1/ntp/groupkey |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/ntp.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |