The heat.engine.clients.os.trove ModuleΒΆ
-
class
heat.engine.clients.os.trove.FlavorConstraint[source] Bases:
heat.engine.constraints.BaseCustomConstraint-
expected_exceptions= (<class 'heat.common.exception.FlavorMissing'>,)
-
validate_with_client(client, flavor)[source]
-
-
class
heat.engine.clients.os.trove.TroveClientPlugin(context)[source] Bases:
heat.engine.clients.client_plugin.ClientPlugin-
exceptions_module= <module 'troveclient.openstack.common.apiclient.exceptions' from '/usr/lib/python2.7/dist-packages/troveclient/openstack/common/apiclient/exceptions.pyc'>
-
get_flavor_id(flavor)[source] Get the id for the specified flavor name. If the specified value is flavor id, just return it.
Parameters: flavor – the name of the flavor to find Returns: the id of :flavor: Raises: exception.FlavorMissing
-
is_conflict(ex)[source]
-
is_not_found(ex)[source]
-
is_over_limit(ex)[source]
-
validate_datastore(datastore_type, datastore_version, ds_type_key, ds_version_key)[source]
-