Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-09 Thread Renat Akhmerov
Hey, I think it’s a question of what the final goal is. For just creating security groups as a resource I think Georgy and Zane are right, just use Heat. If the goal is to try Mistral or have this simple workflow as part of more complex then it’s totally fine to use Mistral. Sorry, I’m

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-09 Thread Renat Akhmerov
(not for usage questions) Subject: Re: [openstack-dev] [Mistral] Query on creating multiple resources Hi Sushma, Did you explore Heat templates? As Zane mentioned you can do this via Heat template without writing any workflows. Do you have any specific use cases which you can't solve with Heat

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-09 Thread Zane Bitter
On 09/12/14 03:48, Renat Akhmerov wrote: Hey, I think it’s a question of what the final goal is. For just creating security groups as a resource I think Georgy and Zane are right, just use Heat. If the goal is to try Mistral or have this simple workflow as part of more complex then it’s

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-09 Thread Renat Akhmerov
Hundred percent agree with all said by Zane. Renat Akhmerov @ Mirantis Inc. On 10 Dec 2014, at 02:20, Zane Bitter zbit...@redhat.com wrote: On 09/12/14 03:48, Renat Akhmerov wrote: Hey, I think it’s a question of what the final goal is. For just creating security groups as a resource

[openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Sushma Korati
Hello All, Can we create multiple resources using a single task, like multiple keypairs or security-groups or networks etc? I am trying to extend the existing create_vm workflow, such that it accepts a list of security groups. In the workflow, before create_vm I am trying to create the

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Zane Bitter
On 08/12/14 09:41, Sushma Korati wrote: Can we create multiple resources using a single task, like multiple keypairs or security-groups or networks etc? Define them in a Heat template and create the Heat stack as a single task. - ZB ___

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Nikolay Makhotkin
Hi, Sushma! Can we create multiple resources using a single task, like multiple keypairs or security-groups or networks etc? Yes, we can. This feature is in the development now and it is considered as experimental - https://blueprints.launchpad.net/mistral/+spec/mistral-dataflow-collections

Re: [openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Georgy Okrokvertskhov
Hi Sushma, Did you explore Heat templates? As Zane mentioned you can do this via Heat template without writing any workflows. Do you have any specific use cases which you can't solve with Heat template? Create VM workflow was a demo example. Mistral potentially can be used by Heat or other

[openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Sushma Korati
Hello All, Can we create multiple resources using a single task, like multiple keypairs or security-groups or networks etc? I am trying to extend the existing create_vm workflow, such that it accepts a list of security groups. In the workflow, before create_vm I am trying to create the

[openstack-dev] [Mistral] Query on creating multiple resources

2014-12-08 Thread Sushma Korati
...@mirantis.com] Sent: Tuesday, December 09, 2014 6:07 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Mistral] Query on creating multiple resources Hi Sushma, Did you explore Heat templates? As Zane mentioned you can do this via Heat template