Update Platform Config
Updates the LicenseHub configuration and triggers the appropriate Lifecycle Management (LCM) workflow asynchronously.
Behavior:
- Fresh Platform (Not Deployed): If the platform record exists but the cluster hasn't been deployed yet, this updates the configuration and immediately triggers the initial deployment workflow.
- Deployed Platform (Day-2 Operation): If the LicenseHub is already running, this saves the updated configuration and triggers a Day-2 configuration update workflow.
Workflow Chain:
The response returns a 202 Accepted with a status_url. Call GET /lh-appliance/platforms/{platform-id}/status to poll the update/deployment progress.
A globally unique UUID representing the LicenseHub to update.
434348d8-681e-4809-8dc1-427127d2bee7
The modified LicenseHub configuration to apply.
{
"_revision": 1,
"desired_state": "START",
"network": {
"dns": [
"dns.broadcom.example"
],
"network_configs": [
{
"platform_default_gateway": "172.16.111.1",
"platform_subnet": "172.16.111.1/24",
"service_pools": [
{
"end": "172.16.111.89",
"name": "service-ippool-name-1",
"start": "172.16.111.71"
}
]
}
],
"ntp": "ntp.broadcom.example",
"search_domain": "searchdomain.example"
},
"service": {
"ingress_fqdn": "ingress-fqdn.example",
"instance_name": "instance-name-example",
"kafka_fqdn": "kafka-fqdn.example"
}
}
The platform action request has been accepted. Use the returned platform ID and status URL to query for more detailed information.
{
"id": "434348d8-681e-4809-8dc1-427127d2bee7",
"status_url": "https://licensehub.example.com/lh-appliance/platforms/434348d8-681e-4809-8dc1-427127d2bee7/status"
}
UUID identifier of the response.
The URL to check the status of the operation.
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.
An error occurred while checking the LicenseHub service.
{
"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 -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/https://{api_host}:{port}/lh-appliance/platforms/{platform-id}