mistral.actions.openstack package¶
Subpackages¶
Submodules¶
mistral.actions.openstack.actions module¶
-
class
mistral.actions.openstack.actions.
AodhAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
BarbicanAction
(**kwargs)¶ Bases:
mistral.actions.openstack.base.OpenStackAction
-
static
secrets_store
(client, name=None, payload=None, algorithm=None, bit_length=None, secret_type=None, mode=None, expiration=None)¶ Create and Store a secret in Barbican.
Parameters: - name (string) – A friendly name for the Secret
- payload (string) – The unencrypted secret data
- algorithm (string) – The algorithm associated with this secret key
- bit_length (int) – The bit length of this secret key
- secret_type – The secret type for this secret key
- expiration (string) – The expiration time of the secret in ISO 8601 format
Returns: A new Secret object
Return type: class:`barbicanclient.secrets.Secret’
-
static
-
class
mistral.actions.openstack.actions.
BaremetalIntrospectionAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
CeilometerAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
CinderAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
DesignateAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
GlanceAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
GnocchiAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
HeatAction
(**kwargs)¶
-
mistral.actions.openstack.actions.
IRONIC_API_VERSION
= '1.22'¶ The default microversion to pass to Ironic API.
1.22 corresponds to Newton final.
-
class
mistral.actions.openstack.actions.
IronicAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
KeystoneAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
MagnumAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
MistralAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
MuranoAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
NeutronAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
NovaAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
SenlinAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
SwiftAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
TackerAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
TroveAction
(**kwargs)¶
-
class
mistral.actions.openstack.actions.
ZaqarAction
(**kwargs)¶ Bases:
mistral.actions.openstack.base.OpenStackAction
-
static
queue_messages
(client, queue_name, **params)¶ Gets a list of messages from the queue.
Parameters: - queue_name (six.string_type) – Name of the target queue.
- params (**kwargs dict) – Filters to use for getting messages.
Returns: List of messages.
Return type: list
-
static
queue_pop
(client, queue_name, count=1)¶ Pop count messages from the queue.
Parameters: - queue_name (six.string_type) – Name of the target queue.
- count (int) – Number of messages to pop.
Returns: List of messages.
Return type: list
-
static
queue_post
(client, queue_name, messages)¶ Posts one or more messages to a queue.
Parameters: - queue_name (six.string_type) – Name of the target queue.
- messages (list or dict) – One or more messages to post.
Returns: A dict with the result of this operation.
Return type: dict
-
static
mistral.actions.openstack.base module¶
-
class
mistral.actions.openstack.base.
OpenStackAction
(**kwargs)¶ Bases:
mistral.actions.base.Action
OpenStack Action.
OpenStack Action is the basis of all OpenStack-specific actions, which are constructed via OpenStack Action generators.
-
classmethod
get_fake_client_method
()¶
-
run
()¶
-
test
()¶
-
classmethod