API for managing cluster blueprints and host configurations in the PCD

apiKey TokenAuth

Keystone Authentication token

Fields
KeyIn
x-auth-tokenHeader

Create a new blueprint

Auth
Request Body
POST /blueprint
Copy
Responses
204

Operation successful

Headers
Locationstring

URL of the created resource

400

Invalid request

409

Operation cannot be performed in current state

Response
Copy

List all blueprints

Auth
GET /blueprint
Copy
Responses
200

Successfully retrieved blueprints

Response
Copy

Retrieve a specific blueprint

Auth
GET /blueprint/{clusterName}
Copy
Responses
200

Successfully retrieved blueprint

stringstring

Default: null

404

Resource not found

Response
Copy

Update an existing blueprint

Auth
Request Body
PUT /blueprint/{clusterName}
Copy
Responses
204

Operation successful

No response body
404

Resource not found

Response
Copy

Delete a specific blueprint

Auth
DELETE /blueprint/{clusterName}
Copy
Responses
204

Operation successful

No response body
404

Resource not found

Response
Copy

Assign role to the host or update role settings

Auth
Request Body

Role specific settings; required only for persistent-storage role

objectobject
backendsarray[string]

List of storage backends to associate with the role

PUT /hosts/{hostId}/roles/{roleName}
Copy
Responses
200

Role assigned successfully

No response body
400

Invalid request

404

Resource not found

409

Operation cannot be performed in current state

Response
Copy

Remove role from the host

Auth
DELETE /hosts/{hostId}/roles/{roleName}
Copy
Responses
204

Role unassigned successfully

No response body
400

Invalid request

404

Resource not found

Response
Copy

List host configurations

Auth
GET /hostconfigs
Copy
Responses
200

List of host configurations

arrayarray
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
iduuid
Response
Copy

Create host configuration(s)

Auth
Request Body
objectobject
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
POST /hostconfigs
Copy
Responses
200

Host configuration(s) created

Headers
Locationstring

URL of the created Resource

Body
arrayarray
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
iduuid
409

Operation cannot be performed in current state

Response
Copy

Get host configuration

Auth
GET /hostconfigs/{hostConfigId}
Copy
Responses
200

Host configuration details

objectobject
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
iduuid
Response
Copy

Update host configuration

Auth
Request Body
objectobject
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
PUT /hostconfigs/{hostConfigId}
Copy
Responses
200

Host configuration updated

objectobject
namestring
mgmtInterfacestring
vmConsoleInterfacestring
hostLivenessInterfacestring
tunnelingInterfacestring
imagelibInterfacestring
networkLabelsobject
clusterNamestring
iduuid
Response
Copy

Delete host configuration

Auth
DELETE /hostconfigs/{hostConfigId}
Copy
Responses
204

Host configuration deleted

No response body
Response
Copy

Assign host configuration to host

Auth
PUT /hosts/{hostId}/hostconfig/{hostConfigId}
Copy
Responses
200

Host configuration assigned

No response body
Response
Copy

Unassign host configuration from host

Auth
DELETE /hosts/{hostId}/hostconfig/{hostConfigId}
Copy
Responses
204

Host configuration unassigned

No response body
Response
Copy