summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/create_stack.py
AgeCommit message (Collapse)AuthorFilesLines
2017-08-09SNAPS Stack creators can now return SNAPS network creators.spisarski1-8/+68
As Heat Stacks are responsible for spawning objects in OpenStack, the class OpenStackHeatStack which is responsible for applying and managing the state of a stack now can retrieve OpenStackNetwork objects for the networks created in the stack for clients who would like to query the networks and subnets or update them outside of Heat. JIRA: SNAPS-171 Change-Id: I9bf0b81d4f7bfeb1b6392f345022c7d9a57d0415 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-31Changed heat_utils#get_stack_by_name to get_stack.spisarski1-2/+9
Added stack_settings parameter to allow for more robust queries based on the known settings as required. JIRA: SNAPS-158 Change-Id: I538826f822307365b1afe997b71280b9ea500eab Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-10Fixed stack create status check on error.spisarski1-1/+2
Was checking for the status string of "ERROR" when "CREATE_FAILED" should have been used. This bug caused the heat stack test to hang instead of raising an exception. Change-Id: I91e04d58bed083fd8b93ec908c766c0ddc4828de Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-20Changes StackSettings constructor to use kwargs.spisarski1-50/+69
And changed line lengths to 79 for pep8. JIRA: SNAPS-103 Change-Id: Iacc3a42cbf3bebe7336d17fc4a4574590f15b93a Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-05Added support for applying Heat Templatesspisarski1-0/+214
Second patch expanded support to both files and dict() objects. Third patch exposes new accessor for status and outputs. JIRA: SNAPS-86 Change-Id: Ie7e8d883b4cc1a08dbe851fc9cbf663396334909 Signed-off-by: spisarski <s.pisarski@cablelabs.com>