Get Dhcp Server State
Return realized state information of a dhcp server. After a dhcp server is created or updated, you can invoke this API to get the realization information of the server.
server-id
barrier_id
Realization request ID
OK
{
"details": [
{
"failure_code": 0,
"failure_message": "string",
"state": "string",
"sub_system_address": "string",
"sub_system_id": "string",
"sub_system_name": "string",
"sub_system_type": "string"
}
],
"failure_code": 0,
"failure_message": "string",
"state": "string"
}
Array of configuration state of various sub systems
Error code
Error message in case of failure
Gives details of state of desired configuration. Additional enums with more details on progress/success/error states are sent for edge node. The success states are NODE_READY and TRANSPORT_NODE_READY, pending states are {VM_DEPLOYMENT_QUEUED, VM_DEPLOYMENT_IN_PROGRESS, REGISTRATION_PENDING} and other values indicate failures. "in_sync" state indicates that the desired configuration has been received by the host to which it applies, but is not yet in effect. When the configuration is actually in effect, the state will change to "success". Please note, failed state is deprecated.
Not Found
curl -H 'Authorization: <value>' https://{api_host}/api/v1/dhcp/servers/{server-id}/state