kolla-ansible/demos/heat/launch
Steven Dake 335f2e2a54 Add a demo using Heat
Add a demo using heat

Change-Id: Ife5f94a338e8723eb300f5c41d53d750e19700d5
2015-04-27 02:17:15 -07:00

10 lines
461 B
Plaintext
Executable File

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"