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