Hi,
I¹m working on the following use-case:
I have a stack template containing a custom resource - my_res - that upon
handle_create invokes creation of another set of resources [r1, r2, r3,
...] (not expressed in the template). These newly created resources are
not associated with the stack. The goal is to include them into the
existing stack.

My idea was to perform stack adopt on r1, r2, r3, etc inside handle_create
of my_res.

handle_create 
  create my_res
  find r1, r2, ...
  for each r in [r1, r2, Š]
     my_res.stack.adopt r

Is this ok or a terrible, terrible idea?

Thanks!
-
Dimitri


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to