aboutsummaryrefslogtreecommitdiff
path: root/demos/heat/launch
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-04-27 02:16:25 -0700
committerSteven Dake <stdake@cisco.com>2015-04-27 02:17:15 -0700
commit335f2e2a546a2bc3087402dc6ea021b4fcb5da83 (patch)
treed8be5cbe1fad4651c562e832ac6c68105af6b755 /demos/heat/launch
parent8781dc570b81c19bb570331dc9fc6ac482e7df0f (diff)
downloadkolla-335f2e2a546a2bc3087402dc6ea021b4fcb5da83.tar.gz
kolla-335f2e2a546a2bc3087402dc6ea021b4fcb5da83.zip
Add a demo using Heat
Add a demo using heat Change-Id: Ife5f94a338e8723eb300f5c41d53d750e19700d5
Diffstat (limited to 'demos/heat/launch')
-rwxr-xr-xdemos/heat/launch9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/heat/launch b/demos/heat/launch
new file mode 100755
index 000000000..d46e69f1d
--- /dev/null
+++ b/demos/heat/launch
@@ -0,0 +1,9 @@
+PUBLIC_NET_ID=$(neutron net-list | grep public | awk '{print $2}')
+DEMO_NET_ID=$(neutron net-list | grep demo | awk '{print $2}')
+DEMO_SUBNET_ID=$(neutron net-list | grep demo | awk '{print $6}')
+
+echo Public net id is $PUBLIC_NET_ID
+echo Demo net id is $DEMO_NET_ID
+echo Demo subnet id is $DEMO_SUBNET_ID
+
+heat stack-create steak --template-file steak-rg.yaml --parameters="public_net_id=$PUBLIC_NET_ID;demo_net_id=$DEMO_NET_ID;demo_subnet_id=$DEMO_SUBNET_ID"