mistral.actions.openstack package

Submodules

mistral.actions.openstack.actions module

class mistral.actions.openstack.actions.AodhAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

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’

class mistral.actions.openstack.actions.BaremetalIntrospectionAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.CeilometerAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.CinderAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.DesignateAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.GlanceAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.GnocchiAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.HeatAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

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)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.KeystoneAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.MagnumAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.MistralAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.MuranoAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.NeutronAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.NovaAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.SenlinAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.SwiftAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.TackerAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

class mistral.actions.openstack.actions.TroveAction(**kwargs)

Bases: mistral.actions.openstack.base.OpenStackAction

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

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()

Module contents