heat.engine.clients.os.blazar module

heat.engine.clients.os.blazar module

class heat.engine.clients.os.blazar.BlazarBaseConstraint[source]

Bases: BaseCustomConstraint

resource_client_name = 'blazar'
class heat.engine.clients.os.blazar.BlazarClientPlugin(context)[source]

Bases: ClientPlugin

RESERVATION = 'reservation'
create_host(**args)[source]
create_lease(**args)[source]
get_host(id)[source]
get_lease(id)[source]
has_host()[source]
is_not_found(exc)[source]

Returns True if the exception is a not-found.

service_types = ['reservation']
class heat.engine.clients.os.blazar.ReservationConstraint[source]

Bases: BlazarBaseConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>, <class 'blazarclient.exception.BlazarClientException'>)
resource_getter_name = 'get_lease'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.