<div dir="ltr"><div><span lang="en"><span>In anticipation of Mistral supporting in Heat, let's introduce using Mistral in Heat.<br></span></span></div><div><span lang="en"><span>1. For using Mistral resources workflow and cron-trigger in Heat, Mistral must be installed to DevStack. </span></span><span lang="en"><span><span lang="en"><span>Installation guide for DevStack on <a href="https://github.com/stackforge/mistral/tree/master/contrib/devstack" target="_blank">https://github.com/stackforge/mistral/tree/master/contrib/devstack</a> </span></span>Detailed information about Workflow and CronTrigger you can find on <a href="https://wiki.openstack.org/wiki/Mistral" target="_blank">https://wiki.openstack.org/wiki/Mistral</a> Note, that currently Mistral use DSLv2 (<a href="https://wiki.openstack.org/wiki/Mistral/DSLv2" target="_blank">https://wiki.openstack.org/wiki/Mistral/DSLv2</a>) and Rest API v2 (<a href="https://wiki.openstack.org/wiki/Mistral/RestAPIv2" target="_blank">https://wiki.openstack.org/wiki/Mistral/RestAPIv2</a>).<br></span></span></div><div><span lang="en"><span>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.<br></span></span></div><div><span lang="en"><span>For example, command 'mistral workflow-list' gives the table:<br>Starting new HTTP connection (1): 192.168.122.104<br>Starting new HTTP connection (1): localhost<br>+---------------------+--------+------------------------------+---------------------+------------+<br>| Name               | Tags  | Input                       | Created at         | Updated at |<br>+---------------------+--------+------------------------------+---------------------+------------+<br>| std.create_instance | <none> | name, image_id, flavor_id... | 2015-01-27 14:16:21 | None      |<br>| std.delete_instance | <none> | instance_id                 | 2015-01-27 14:16:21 | None      |<br>+---------------------+--------+------------------------------+---------------------+------------+<br><br></span></span></div><div><span lang="en"><span>3. Mistral resources for Heat you can find there: <br><a href="https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z">https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z</a><br></span></span></div><div><span lang="en"><span>4. Simple templates using Mistral resources in Heat templates you can find there:<br> <a href="https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples" target="_blank">https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples</a><br></span></span></div><span lang="en"><span></span></span></div>