heat.engine.clients.os.trove.
FlavorConstraint
[source]¶Bases: heat.engine.constraints.BaseCustomConstraint
expected_exceptions
= (<class 'troveclient.apiclient.exceptions.NotFound'>,)¶resource_client_name
= 'trove'¶resource_getter_name
= 'find_flavor_by_name_or_id'¶heat.engine.clients.os.trove.
TroveClientPlugin
(context)[source]¶Bases: heat.engine.clients.client_plugin.ClientPlugin
DATABASE
= 'database'¶exceptions_module
= <module 'troveclient.exceptions' from '/home/zuul/.venv/local/lib/python2.7/site-packages/troveclient/exceptions.pyc'>¶find_flavor_by_name_or_id
(flavor)[source]¶Find the specified flavor by name or id.
Parameters: | flavor – the name of the flavor to find |
---|---|
Returns: | the id of :flavor: |
service_types
= ['database']¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.