Re: [openstack-dev] [Heat] Resource dependencies
This is what you're looking for: http://docs.openstack.org/developer/heat/glossary.html#term-dependency On Thu, Mar 20 2014, Shaunak Kashyap wrote: > Hi, > > In a Heat template, what does it mean for a resource to depend on > another resource? As in, what is the impact of creating a dependency? > > I read > http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#resources-section > and found this definition of the “depends_on” attribute: > >> This optional attribute allows for specifying dependencies of the > current resource on one or more other resources. Please refer to > section hot_spec_resources_dependencies for details. > > > Unfortunately, I can’t seem to find the referenced > “hot_spec_resources_dependencies” section anywhere. > > Thank you, > > Shaunak > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Heat] Resource dependencies
Thanks for the explanation, Thomas. Appreciate it! Shaunak On Mar 21, 2014, at 12:37 AM, Thomas Spatzier wrote: > Shaunak Kashyap wrote on 21/03/2014 > 05:26:50: > >> From: Shaunak Kashyap >> To: "openstack-dev@lists.openstack.org" > >> Date: 21/03/2014 05:29 >> Subject: [openstack-dev] [Heat] Resource dependencies >> >> Hi, >> >> In a Heat template, what does it mean for a resource to depend on >> another resource? As in, what is the impact of creating a dependency? > > When a resource depends on another resource, this means that the Heat > engine will only start processing this resource as soon as the other > resource it depends on has been created. If a resource depends on multiple > resources, all those other resources have to be created before processing > the depedent resource. > >> >> I read http://docs.openstack.org/developer/heat/template_guide/ >> hot_spec.html#resources-section and found this definition of the >> “depends_on” attribute: >> >>> This optional attribute allows for specifying dependencies of the >> current resource on one or more other resources. Please refer to >> section hot_spec_resources_dependencies for details. >> >> >> Unfortunately, I can’t seem to find the referenced >> “hot_spec_resources_dependencies” section anywhere. > > I just checked the source in github and the section is there: > > https://github.com/openstack/heat/blob/master/doc/source/template_guide/hot_spec.rst#L452 > > It only looks like the wrong heading markup is used. Nice spotting > actually; I will fix it. > >> >> Thank you, >> >> Shaunak >> ___ >> OpenStack-dev mailing list >> OpenStack-dev@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Heat] Resource dependencies
Shaunak Kashyap wrote on 21/03/2014 05:26:50: > From: Shaunak Kashyap > To: "openstack-dev@lists.openstack.org" > Date: 21/03/2014 05:29 > Subject: [openstack-dev] [Heat] Resource dependencies > > Hi, > > In a Heat template, what does it mean for a resource to depend on > another resource? As in, what is the impact of creating a dependency? When a resource depends on another resource, this means that the Heat engine will only start processing this resource as soon as the other resource it depends on has been created. If a resource depends on multiple resources, all those other resources have to be created before processing the depedent resource. > > I read http://docs.openstack.org/developer/heat/template_guide/ > hot_spec.html#resources-section and found this definition of the > “depends_on” attribute: > > > This optional attribute allows for specifying dependencies of the > current resource on one or more other resources. Please refer to > section hot_spec_resources_dependencies for details. > > > Unfortunately, I can’t seem to find the referenced > “hot_spec_resources_dependencies” section anywhere. I just checked the source in github and the section is there: https://github.com/openstack/heat/blob/master/doc/source/template_guide/hot_spec.rst#L452 It only looks like the wrong heading markup is used. Nice spotting actually; I will fix it. > > Thank you, > > Shaunak > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Heat] Resource dependencies
Hi, In a Heat template, what does it mean for a resource to depend on another resource? As in, what is the impact of creating a dependency? I read http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#resources-section and found this definition of the “depends_on” attribute: > This optional attribute allows for specifying dependencies of the current > resource on one or more other resources. Please refer to section > hot_spec_resources_dependencies for details. Unfortunately, I can’t seem to find the referenced “hot_spec_resources_dependencies” section anywhere. Thank you, Shaunak ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev