配置生效
该配置接口通过上报配置生效进度章节的上行接口异步返回配置生效进度和结果。
消息实例
{ "header": { "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5", "parent_msg_id": "", "timestamp": 1550107087319, "sync": false }, "route": { "source": "controller", "group": "hardware", "operation": "update", "resource": "websocket/profile_effect" }, "content": { } }
参数说明
content:
{ "profile_name": "profile001" }
通过系统状态中的“inactive_configuration”字段检查配置是否生效成功。
元素定义如下:
一级资源 |
描述 |
类型 |
取值范围 |
---|---|---|---|
profile_name |
配置文件名称 |
string |
仅支持[a-z0-9A-Z-_.],字符长度为1~32,不能包含“..”。 |
返回结果
{ "header":{ "msg_id":"02bb6421-45b4-4f0c-914c-ef3183a37000", "parent_msg_id": "", "timestamp":1652278267211, "sync": false }, "route":{ "source":"hardware", "group":"hub", "operation":"update", "resource":"websocket/profile_effect" }, "content":"{"profile_name": "/home/data/config/redfish/4997c320618ff4c1282da3cb8cdf1c.prf", "percentage": "100%", "result": "success", "reason": ""}" }
父主题: 下行消息接口