summaryrefslogtreecommitdiffstats
path: root/undercloud-vm-nova-deploy.yaml
blob: ebd14ef6d0aa788afb63e6ecd5755ee28603f3a9 (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
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
    hidden: true
  PowerUserName:
    default: stack
    description: What username to ssh to the virtual power host with.
    type: string
resources:
  undercloudNovaDeployment:
    type: OS::Heat::StructuredDeployment
    properties:
      config: {get_resource: undercloudNovaConfig}
      server: {get_resource: undercloud}
      signal_transport: NO_SIGNAL
      input_values:
        nova_arch: {get_param: BaremetalArch}
        power_manager: {get_param: PowerManager}
        pxe_deploy_timeout: {get_param: PxeDeployTimeout}
        nova_service_password: {get_param: NovaPassword}
        user: {get_param: PowerUserName}
        ssh_host: {get_param: PowerSSHHost}
        ssh_key: {get_param: PowerSSHPrivateKey}