<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">No problem, let us know if you have any other questions.<div class=""><br class=""></div><div class=""><div class="">
<div class="">Renat Akhmerov</div><div class="">@ Mirantis Inc.</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 09 Dec 2014, at 11:57, Sushma Korati <<a href="mailto:sushma_korati@persistent.com" class="">sushma_korati@persistent.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 10pt; background-color: rgb(255, 255, 255); font-family: Tahoma, Geneva, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="Apple-interchange-newline">Hi,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thank you guys.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Yes I am able to do this with heat, but I faced issues while trying the same with mistral.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">As suggested will try with the latest mistral branch. Thank you once again.<span class="Apple-converted-space"> </span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Regards,</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Sushma<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div id="Signature" class=""><div name="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; margin: 0px;" class=""><div style="font-family: Tahoma; font-size: 13px;" class=""><div class=""><font face="Tahoma" size="2" class=""></font><font face="Tahoma" size="2" class=""><br class=""><font face="Comic Sans MS" class=""><b class=""><span style="font-size: 9pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif;" class=""></span></b></font></font></div></div></div></div><div style="color: rgb(33, 33, 33);" class=""><hr tabindex="-1" style="display: inline-block; width: 755.578125px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class=""></b></font><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><br class=""></span></div><div class=""><div class="WordSection1"><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></p><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>Georgy Okrokvertskhov [<a href="mailto:gokrokvertskhov@mirantis.com" style="color: purple; text-decoration: underline;" class="">mailto:gokrokvertskhov@mirantis.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Tuesday, December 09, 2014 6:07 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>OpenStack Development Mailing List (not for usage questions)<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [openstack-dev] [Mistral] Query on creating multiple resources</span></div><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Hi Sushma,</div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Did you explore Heat templates? As Zane mentioned you can do this via Heat template without writing any workflows. </div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Do you have any specific use cases which you can't solve with Heat template?</div></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Create VM workflow was a demo example. Mistral potentially can be used by Heat or other orchestration tools to do actual interaction with API, but for user it might be easier to use Heat functionality.</div></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Thanks,</div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Georgy</div></div></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On Mon, Dec 8, 2014 at 7:54 AM, Nikolay Makhotkin <<a href="mailto:nmakhotkin@mirantis.com" target="_blank" style="color: purple; text-decoration: underline;" class="">nmakhotkin@mirantis.com</a>> wrote:</div><div class=""><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hi, Sushma! </p><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">Can we create multiple resources using a single task, like multiple keypairs or security-groups or networks etc?</span></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Yes, we can. This feature is in the development now and it is considered as experimental -<a href="https://blueprints.launchpad.net/mistral/+spec/mistral-dataflow-collections" target="_blank" style="color: purple; text-decoration: underline;" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-dataflow-collections</a></div></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Just clone the last master branch from mistral.<br class=""><br class="">You can specify "for-each" task property and provide the array of data to your workflow:<span class="Apple-converted-space"> </span><br class=""><br class=""> <span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">--------------------</span></div></div><div style="margin: 0in 0in 0.0001pt;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">version: '2.0'<br class=""><br class="">name: secgroup_actions<br class=""><br class="">workflows:<br class="">  create_security_group:<br class="">    type: direct<br class="">    input:<br class="">      - array_with_names_and_descriptions<br class=""><br class="">    tasks:<br class="">      create_secgroups:</span></div><div style="margin: 0in 0in 0.0001pt;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">        for-each: </span></div><div style="margin: 0in 0in 0.0001pt;" class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">          data: $.array_with_names_and_descriptions<br class="">        action: nova.security_groups_create name={$.<a href="http://data.name/" target="_blank" style="color: purple; text-decoration: underline;" class="">data.name</a>} description={$.data.description}<br class="">------------</span></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On Mon, Dec 8, 2014 at 6:36 PM, Zane Bitter <<a href="mailto:zbitter@redhat.com" target="_blank" style="color: purple; text-decoration: underline;" class="">zbitter@redhat.com</a>> wrote:</div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On 08/12/14 09:41, Sushma Korati wrote:</div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Can we create multiple resources using a single task, like multiple<br class="">keypairs or security-groups or networks etc?</div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><br class="">Define them in a Heat template and create the Heat stack as a single task.<br class=""><br class="">- ZB<br class=""><br class="">_______________________________________________<br class="">OpenStack-dev mailing list<br class=""><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank" style="color: purple; text-decoration: underline;" class="">OpenStack-dev@lists.openstack.org</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" style="color: purple; text-decoration: underline;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><br class=""><br clear="all" class=""></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="hoenzb"><span style="color: rgb(136, 136, 136);" class="">--<span class="Apple-converted-space"> </span></span></span></div><div class=""><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="color: rgb(136, 136, 136);" class="">Best Regards,</span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="color: rgb(136, 136, 136);" class="">Nikolay</span></div></div></div></div></div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br class="">_______________________________________________<br class="">OpenStack-dev mailing list<br class=""><a href="mailto:OpenStack-dev@lists.openstack.org" style="color: purple; text-decoration: underline;" class="">OpenStack-dev@lists.openstack.org</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" style="color: purple; text-decoration: underline;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><br class=""><br clear="all" class=""></div><div class=""><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"> </p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">--<span class="Apple-converted-space"> </span></div><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="color: rgb(153, 153, 153); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">Georgy Okrokvertskhov<br class="">Architect,<br class=""></span><span style="font-family: Arial, sans-serif; color: rgb(153, 153, 153); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">OpenStack Platform Products,</span><span style="color: rgb(153, 153, 153); background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><br class="">Mirantis</span><span style="color: rgb(153, 153, 153);" class=""><br class=""><a href="http://www.mirantis.com/" target="_blank" style="color: purple; text-decoration: underline;" class="">http://www.mirantis.com</a><br class="">Tel. +1 650 963 9828<br class="">Mob. +1 650 996 3284</span></div></div></div></div></div></div></div></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.</div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack-dev mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OpenStack-dev@lists.openstack.org" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-dev@lists.openstack.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></blockquote></div><br class=""></div></body></html>