Merge "Support TripleO-CI for overcloud builds."
[apex-tripleo-heat-templates.git] / undercloud-vm-source.yaml
1 Parameters:
2   NeutronPublicInterface:
3     Default: eth0
4     Description: What interface to bridge onto br-ex for network nodes.
5     Type: String
6   PowerManager:
7     Default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
8     Description: Bare metal power manager driver.
9     Type: String
10   PowerSSHHost:
11     Default: 192.168.122.1
12     Description: SSH host to ssh to for power management operations.
13     Type: String
14   PowerSSHPrivateKey:
15     Description: Private key for using to ssh to a virtual power host.
16     Type: NoEcho
17   PowerUserName:
18     Default: stack
19     Description: What username to ssh to the virtual power host with.
20     Type: String
21 Resources:
22   undercloudConfig:
23     Type: AWS::AutoScaling::LaunchConfiguration
24     Metadata:
25       nova:
26         compute_hostname: undercloud
27         compute_driver: baremetal.driver.BareMetalDriver
28         db: mysql://nova:unset@localhost/nova
29         default_ephemeral_format: ext4
30         host: 127.0.0.1
31         metadata-proxy: false
32         tuning:
33           ram_allocation_ratio: 1.0
34           reserved_host_memory_mb: 0
35         baremetal:
36           arch:
37             Ref: BaremetalArch
38           db: mysql://nova:unset@localhost/nova_bm
39           power_manager:
40             Ref: PowerManager
41           pxe_deploy_timeout: 2400
42           virtual_power:
43             user:
44               Ref: PowerUserName
45             ssh_host:
46               Ref: PowerSSHHost
47             ssh_key:
48               Ref: PowerSSHPrivateKey
49             type: virsh
50         service-password:
51           Ref: NovaPassword