Re: [openstack-dev] [heat] How to cross-reference resources within OS::Heat::ResourceGroup

2014-05-07 Thread Zane Bitter
On 06/05/14 16:07, Janczuk, Tomasz wrote: Could this be accomplished with 3 resource groups instead of one? The first would create the ports, the second floating IPs, and the last the VMs? In that case, would there be a way to construct a reference to a particular instance of, say, a port, when c

Re: [openstack-dev] [heat] How to cross-reference resources within OS::Heat::ResourceGroup

2014-05-06 Thread Randall Burt
It would be a bit difficult if not impossible since you either address the aggregate values of all attributes in the group or the attribute of one specific member of the group. The ResourceGroup doesn't have a mechanism for applying sequential values to the members. That might be something you c

Re: [openstack-dev] [heat] How to cross-reference resources within OS::Heat::ResourceGroup

2014-05-06 Thread Janczuk, Tomasz
Could this be accomplished with 3 resource groups instead of one? The first would create the ports, the second floating IPs, and the last the VMs? In that case, would there be a way to construct a reference to a particular instance of, say, a port, when creating an instance of a floating IP? On 5/

Re: [openstack-dev] [heat] How to cross-reference resources within OS::Heat::ResourceGroup

2014-05-06 Thread Randall Burt
A resource group's definition contains only one resource and you seem to want groups of multiple resources. You would need to use a nested stack or provider template to do what you're proposing. On May 6, 2014, at 2:23 PM, "Janczuk, Tomasz" wrote: > I am trying to create an OS::Heat::Resource