Blueprint

List all blueprints

get
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Responses
200

Successfully retrieved blueprints

application/json
get
/blueprint
200

Successfully retrieved blueprints

Create a new blueprint

post
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Body
namestringRequired

Cluster name

Example: default
networkingTypestring · enumOptional

Defaults to OVN

Default: ovnPossible values:
enableDistributedRoutingbooleanOptional

Enable Cluster Wide Distributed Network Routing

Default: true
dnsDomainNamestringOptional

DNS Domain Name

Example: localdomain
imageLibraryStoragestringOptional

Library location on filesystem or Cinder volume type

Example: /var/lib/images|lvm
vmStoragestringOptional

Ephemeral Virtual Machine storage path

Example: /var/lib/instances
Responses
post
/blueprint

No content

Retrieve a specific blueprint

get
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
clusterNamestringRequired
Responses
200

Successfully retrieved blueprint

application/json
ResponsestringDefault: null
get
/blueprint/{clusterName}

Update an existing blueprint

put
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
clusterNamestringRequired
Body
namestringRequired

Cluster name

Example: default
networkingTypestring · enumOptional

Defaults to OVN

Default: ovnPossible values:
enableDistributedRoutingbooleanOptional

Enable Cluster Wide Distributed Network Routing

Default: true
dnsDomainNamestringOptional

DNS Domain Name

Example: localdomain
imageLibraryStoragestringOptional

Library location on filesystem or Cinder volume type

Example: /var/lib/images|lvm
vmStoragestringOptional

Ephemeral Virtual Machine storage path

Example: /var/lib/instances
Responses
put
/blueprint/{clusterName}

No content

Delete a specific blueprint

delete
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
clusterNamestringRequired
Responses
delete
/blueprint/{clusterName}

No content

Assign role to the host or update role settings

put
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostIdstringRequired
roleNameundefined · enumRequiredPossible values:
Body
backendsstring[]Required

List of storage backends to associate with the role

Responses
200

Role assigned successfully

No content

put
/hosts/{hostId}/roles/{roleName}

No content

Remove role from the host

delete
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostIdstringRequired
roleNameundefined · enumRequiredPossible values:
Responses
delete
/hosts/{hostId}/roles/{roleName}

No content

List host configurations

get
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Responses
200

List of host configurations

application/json
get
/hostconfigs
200

List of host configurations

Create host configuration(s)

post
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Body
or
Responses
200

Host configuration(s) created

application/json
post
/hostconfigs

Get host configuration

get
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostConfigIdstringRequired
Responses
200

Host configuration details

application/json
get
/hostconfigs/{hostConfigId}
200

Host configuration details

Update host configuration

put
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostConfigIdstringRequired
Body
namestringOptionalExample: Hypervisor-002
mgmtInterfacestringOptionalExample: ens3
vmConsoleInterfacestringOptionalExample: ens3
hostLivenessInterfacestringOptionalExample: ens3
tunnelingInterfacestringOptionalExample: ens3
imagelibInterfacestringOptionalExample: eth0
networkLabelsobjectOptionalExample: {"physnet":"ens3"}
clusterNamestringOptionalExample: default
Responses
200

Host configuration updated

application/json
put
/hostconfigs/{hostConfigId}
200

Host configuration updated

Delete host configuration

delete
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostConfigIdstringRequired
Responses
delete
/hostconfigs/{hostConfigId}
204

Host configuration deleted

No content

Assign host configuration to host

put
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostIdstringRequired
hostConfigIdstringRequired
Responses
200

Host configuration assigned

No content

put
/hosts/{hostId}/hostconfig/{hostConfigId}
200

Host configuration assigned

No content

Unassign host configuration from host

delete
Authorizations
x-auth-tokenstringRequired

Keystone Authentication token

Path parameters
hostIdstringRequired
hostConfigIdstringRequired
Responses
delete
/hosts/{hostId}/hostconfig/{hostConfigId}
204

Host configuration unassigned

No content

Last updated

Was this helpful?