Verify operationThis section describes how to verify operation of the Orchestration
module (heat).Source the demo tenant credentials:$source demo-openrc.shThe Orchestration module uses templates to describe stacks. To learn
about the template language, see the Template Guide in the Heat developer
documentation.Create a test template in the test-stack.yml
file with the following content:Use the heat stack-create command to create a
stack from the template:$NET_ID=$(nova net-list | awk '/ demo-net / { print $2 }')$heat stack-create -f test-stack.yml \
-P "ImageID=cirros-0.3.2-x86_64;NetID=$NET_ID" testStack+--------------------------------------+------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+--------------------+----------------------+
| 477d96b4-d547-4069-938d-32ee990834af | testStack | CREATE_IN_PROGRESS | 2014-04-06T15:11:01Z |
+--------------------------------------+------------+--------------------+----------------------+Use the heat stack-list command to verify
successful creation of the stack:$heat stack-list+--------------------------------------+------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+------------+-----------------+----------------------+
| 477d96b4-d547-4069-938d-32ee990834af | testStack | CREATE_COMPLETE | 2014-04-06T15:11:01Z |
+--------------------------------------+------------+-----------------+----------------------+