8ba6c8ffe8
This allows functional tests to be written for each individual template. See the test_Wordpress_Single_Instance for an example, but the basic form to follow is: import util def test_template(): func_utils = util.FuncUtils() func_utils.create_stack(template, 'F17') func_utils.check_cfntools() func_utils.wait_for_provisioning() func_utils.check_user_data(template) ssh = func_utils.get_ssh_client() # test stuff here func_utils.cleanup() Functional test changes: Changed jeos creation to use new tool. Added distribution to heat stack creation. Improved IP parsing from glance. Improve SSH connection exception handling. Changed cfntools SHA check to match installed copy instead of locally. Fixed stack parsing to check correct file and handle user-data injection. Clean up run_tests a little to make it clear default execution is on host. Add a short option for unit test running only (may be important due to not wanting to run functional tests locally). Also added paramiko to test-requires. Change-Id: Ib2ae1be32801cb0ee3d1937c4f82ab9f574b4591 Signed-off-by: Jeff Peeler <jpeeler@redhat.com> |
||
---|---|---|
bin | ||
contrib | ||
docs | ||
etc | ||
heat | ||
templates | ||
tools | ||
.gitignore | ||
.gitreview | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
install.sh | ||
openstack-common.conf | ||
pylintrc | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
uninstall.sh |
README.rst
HEAT
This is an OpenStack style project that provides a REST API to orchestrate multiple cloud applications implementing well-known standards such as AWS CloudFormation and TOSCA.
Currently the developers are focusing on AWS CloudFormation but are watching the development of the TOSCA specification.
Why heat? It makes the clouds rise and keeps them there.
Getting Started -----------
If you'd like to run from the master branch, you can clone the git repo:
git clone git@github.com:heat-api/heat.git
Follow the steps: https://github.com/heat-api/heat/wiki/HeatGettingStarted
References
- http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
- http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/create-stack.html
- http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
- http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=tosca
Related projects
- http://wiki.openstack.org/Donabe
- http://wiki.openstack.org/DatabaseAsAService (could be used to provide AWS::RDS::DBInstance)
- http://wiki.openstack.org/QueueService (could be used to provide AWS::SQS::Queue)