Configuration Validation

This configuration interface asynchronously returns the configuration validation progress and result through the upstream interface in Reporting Configuration Validation Progress.

Message instance

{
    "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": {
    }
}

Parameter description

content:

{
    "profile_name": "profile001"
}

View the inactive_configuration field in the system status to check whether the configuration takes effect.

Elements are defined as follows:

Level-1 Resource

Description

Type

Value Range

profile_name

Profile name

string

The value is a string of 1 to 32 characters in the range of [a-z0-9A-Z-_.] but excludes two consecutive dots (..).

Result returned

{
    "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": ""}"
}