In anticipation of Mistral supporting in Heat, let's introduce using
Mistral in Heat.
1. For using Mistral resources workflow and cron-trigger in Heat, Mistral
must be installed to DevStack. Installation guide for DevStack on
https://github.com/stackforge/mistral/tree/master/contrib/devstack Detailed
information about Workflow and CronTrigger you can find on
https://wiki.openstack.org/wiki/Mistral Note, that currently Mistral use
DSLv2 (https://wiki.openstack.org/wiki/Mistral/DSLv2) and Rest API v2 (
https://wiki.openstack.org/wiki/Mistral/RestAPIv2).
2. When Mistral will be installed, check it accessibility - in screen or
using command 'mistral --help' (list of commands). You can test Mistral
resources creating workflow resources with DSLv2-formatted definitions,
cron-triggers and executions.
For example, command 'mistral workflow-list' gives the table:
Starting new HTTP connection (1): 192.168.122.104
Starting new HTTP connection (1): localhost
+---------------------+--------+------------------------------+---------------------+------------+
| Name                | Tags   | Input                        | Created
at          | Updated at |
+---------------------+--------+------------------------------+---------------------+------------+
| std.create_instance | <none> | name, image_id, flavor_id... | 2015-01-27
14:16:21 | None       |
| std.delete_instance | <none> | instance_id                  | 2015-01-27
14:16:21 | None       |
+---------------------+--------+------------------------------+---------------------+------------+

3. Mistral resources for Heat you can find there:
https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z
4. Simple templates using Mistral resources in Heat templates you can find
there:
https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to