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

DATABASE = 'database'
exceptions_module = <module 'troveclient.openstack.common.apiclient.exceptions' from '/home/jenkins/workspace/heat-docs-ubuntu-xenial/.tox/venv/local/lib/python2.7/site-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]
service_types = ['database']
validate_datastore(datastore_type, datastore_version, ds_type_key, ds_version_key)[source]

Previous topic

The heat.engine.clients.os.swift Module

Next topic

The heat.engine.clients.os.zaqar Module

Project Source

This Page