The heat.engine.clients.os.trove Module¶
-
class
heat.engine.clients.os.trove.FlavorConstraint[source]¶ Bases:
heat.engine.constraints.BaseCustomConstraint-
expected_exceptions= (<class 'troveclient.openstack.common.apiclient.exceptions.NotFound'>,)¶
-
resource_client_name= 'trove'¶
-
resource_getter_name= 'find_flavor_by_name_or_id'¶
-
-
class
heat.engine.clients.os.trove.TroveClientPlugin(context)[source]¶ Bases:
heat.engine.clients.client_plugin.ClientPlugin-
DATABASE= 'database'¶
-
exceptions_module= <module 'troveclient.openstack.common.apiclient.exceptions' from '/usr/lib/python2.7/dist-packages/troveclient/openstack/common/apiclient/exceptions.pyc'>¶
-
find_flavor_by_name_or_id(flavor)¶ Find the specified flavor by name or id.
Parameters: flavor – the name of the flavor to find Returns: the id of :flavor:
-
is_conflict(ex)¶
-
is_not_found(ex)¶
-
is_over_limit(ex)¶
-
service_types= ['database']¶
-
validate_datastore(datastore_type, datastore_version, ds_type_key, ds_version_key)¶
-