-heat
\ No newline at end of file
+heat-cfn
\ No newline at end of file
Validate a template. This command parses a template and verifies that
it is in the correct format.
- Usage: heat validate \\
+ Usage: heat-cfn validate \\
[--template-file=<template file>|--template-url=<template URL>] \\
[options]
'''
Create a new stack from a template.
- Usage: heat create <stack name> \\
+ Usage: heat-cfn create <stack name> \\
[--template-file=<template file>|--template-url=<template URL>] \\
[options]
'''
Update an existing stack.
- Usage: heat update <stack name> \\
+ Usage: heat-cfn update <stack name> \\
[--template-file=<template file>|--template-url=<template URL>] \\
[options]
the stack and (perhaps wrongly) also removes all events associated
with the given stack.
- Usage: heat delete <stack name>
+ Usage: heat-cfn delete <stack name>
'''
parameters = {}
try:
'''
Describes an existing stack.
- Usage: heat describe <stack name>
+ Usage: heat-cfn describe <stack name>
'''
parameters = {}
try:
'''
List events associated with the given stack.
- Usage: heat event-list <stack name>
+ Usage: heat-cfn event-list <stack name>
'''
parameters = {}
try:
'''
List all running stacks.
- Usage: heat list
+ Usage: heat-cfn list
'''
c = get_client(options)
result = c.list_stacks()
::
- heat create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
+ heat-cfn create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
List stacks
-----------
::
- heat list
+ heat-cfn list
List stack events
-----------------
::
- heat event-list wordpress
+ heat-cfn event-list wordpress
Describe the ``wordpress`` stack
--------------------------------
::
- heat describe wordpress
+ heat-cfn describe wordpress
..
EOF
echo "Pausing to wait for application startup..." >&2
sleep 60
-Point a web browser at the location given by the ``WebsiteURL`` Output as shown by ``heat describe``::
+Point a web browser at the location given by the ``WebsiteURL`` Output as shown by ``heat-cfn describe``::
wget ${WebsiteURL}
::
- heat delete wordpress
- heat list
+ heat-cfn delete wordpress
+ heat-cfn list
Note: This operation will show no running stack.
'\" t
-.\" Title: heat
+.\" Title: heat-cfn
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 03/31/2012
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
-heat \- perform a heat action via the heat API
+heat-cfn \- perform a heat action via the heat API
.SH "SYNOPSIS"
.sp
-heat COMMAND [OPTIONS]
+heat-cfn COMMAND [OPTIONS]
.SH "DESCRIPTION"
.sp
-\fBheat\fR is a tool to orchestrate the setup of multiple cloud applications\&.
+\fBheat-cfn\fR is a tool to orchestrate the setup of multiple cloud applications\&.
.SH CONFIGURATION
-heat uses keystone authentication, and expects some variables to be set in
+heat-cfn uses keystone authentication, and expects some variables to be set in
your environment, without these heat will not be able to establish an
authenticated connection with the heat API server.
.SH "USAGE EXAMPLES"
.sp
-heat -d create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
+heat-cfn -d create wordpress --template-file=templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"
-heat list
+heat-cfn list
-heat describe wordpress
+heat-cfn describe wordpress
-heat resource-list wordpress
+heat-cfn resource-list wordpress
-heat resource-list-details wordpress
+heat-cfn resource-list-details wordpress
-heat resource-list-details wordpress WikiDatabase
+heat-cfn resource-list-details wordpress WikiDatabase
-heat resource wordpress WikiDatabase
+heat-cfn resource wordpress WikiDatabase
-heat event-list
+heat-cfn event-list
-heat delete wordpress
+heat-cfn delete wordpress
.SH "AUTHOR"
.sp
prev="${COMP_WORDS[COMP_CWORD-1]}"
if [[ ${cur} == -* ]]; then
- opts=$(heat --help | grep -A100 "^Options" | sed -r "s/^[[:space:]]*-[[:alpha:]]([[:space:]][[:alpha:]_]*,|,)[[:space:]]//" | cut -d "=" -f1 | grep "^--" | awk '{print $1}')
+ opts=$(heat-cfn --help | grep -A100 "^Options" | sed -r "s/^[[:space:]]*-[[:alpha:]]([[:space:]][[:alpha:]_]*,|,)[[:space:]]//" | cut -d "=" -f1 | grep "^--" | awk '{print $1}')
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
if [[ ${#COMP_WORDS[@]} -gt 2 ]]; then
return 0
else
- cmds=$(heat help | awk '{print $1}' | egrep -v "^(Usage|Commands|$)")
+ cmds=$(heat-cfn help | awk '{print $1}' | egrep -v "^(Usage|Commands|$)")
COMPREPLY=( $(compgen -W "${cmds}" -- ${cur}) )
return 0
fi
}
-complete -F _heat heat
+complete -F _heat heat-cfn
function run_pep8 {
echo "Running pep8..."
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat"
- PEP8_INCLUDE="bin/heat bin/heat-boto bin/heat-api-cfn bin/heat-api bin/heat-engine heat tools setup.py heat/testing/runner.py"
+ PEP8_INCLUDE="bin/heat-cfn bin/heat-boto bin/heat-api-cfn bin/heat-api bin/heat-engine heat tools setup.py heat/testing/runner.py"
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE
}
'Programming Language :: Python :: 2.6',
'Environment :: No Input/Output (Daemon)',
],
- scripts=['bin/heat',
+ scripts=['bin/heat-cfn',
'bin/heat-api',
'bin/heat-api-cfn',
'bin/heat-api-cloudwatch',
sudo rm -f $BIN_PATH/heat-api
sudo rm -f $BIN_PATH/heat-api-cfn
sudo rm -f $BIN_PATH/heat-engine
- sudo rm -f $BIN_PATH/heat
+ sudo rm -f $BIN_PATH/heat-cfn
echo 1>&2
fi