Merge "Adding NTP to undercloud template"
[apex-tripleo-heat-templates.git] / nova-compute-group.yaml
1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'Group of Nova Computes'
3 Parameters:
4   KeyName: 
5     Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
6     Type: String
7     Default: default
8   InstanceType:
9     Description: Use this flavor
10     Type: String
11     Default: baremetal
12   NovaImage:
13     Type: String
14     Default: overcloud-compute
15   KeystoneHost:
16     Type: String
17   ServicePassword:
18     Description: admin_password for setting up auth in nova.
19     Type: String
20     NoEcho: true
21   NeutronHost:
22     Type: String
23   RabbitHost:
24     Type: String
25   RabbitUserName:
26     Type: String
27   RabbitPassword:
28     Type: String
29     NoEcho: true
30   NovaInterfaces:
31     Type: String
32     Default: eth0
33   NovaComputeDriver:
34     Type: String
35     Default: libvirt.LibvirtDriver
36   NovaApiHost:
37     Type: String
38   GlanceHost:
39     Type: String
40   NovaComputeTemplate:
41     Type: String
42     Default: https://raw.github.com/openstack/tripleo-heat-templates/master/nova-compute-instance.yaml
43   NovaDSN:
44     Type: String
45   NeutronDSN:
46     Type: String
47 Resources:
48   NovaCompute0:
49     Type: AWS::CloudFormation::Stack
50     Properties:
51       Parameters:
52         NovaImage: {Ref: NovaImage}
53         InstanceType: {Ref: InstanceType}
54         KeyName: {Ref: KeyName}
55         KeystoneHost: {Ref: KeystoneHost}
56         ServicePassword: {Ref: ServicePassword}
57         NeutronHost: {Ref: NeutronHost}
58         RabbitHost: {Ref: RabbitHost}
59         RabbitUserName: {Ref: RabbitUserName}
60         RabbitPassword: {Ref: RabbitPassword}
61         NovaInterfaces: {Ref: NovaInterfaces}
62         NovaComputeDriver: {Ref: NovaComputeDriver}
63         NovaApiHost: {Ref: NovaApiHost}
64         GlanceHost: {Ref: GlanceHost}
65         NovaDSN: {Ref: NovaDSN}
66         NeutronDSN: {Ref: NeutronDSN}
67       TemplateURL: {Ref: NovaComputeTemplate}