Get Baremetal Server Summary
Returns aggregated statistics on baremetal servers.
OK
{
"agent_health_status": {
"num_ok": 0,
"num_disconnected": 0,
"num_degraded": 0
},
"operational_status": {
"success": 0,
"failed": 0,
"in_progress": 0,
"num_upgrade_failed": 0,
"num_offboard_failed": 0
},
"version_stats": {
"latest_version": "string",
"latest_version_count": 0,
"upgrade_needed_count": 0,
"upgrade_in_progress_count": 0
},
"total_server_count": 0
}
The baremetal servers agent health status summary.
The baremetal servers operational status summary.
Summary for baremetal servers version stats.
Total number of baremetal servers.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error response on API failure.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/baremetal/servers-summary