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:
  01_undercloudNovaDeployment:
    Type: OS::Heat::StructuredDeployment
    Properties:
      config: {Ref: undercloudNovaConfig}
      server: {Ref: undercloud}
      signal_transport: NO_SIGNAL
      input_values:
        nova_arch: {Ref: BaremetalArch}
        power_manager: {Ref: PowerManager}
        pxe_deploy_timeout: {Ref: PxeDeployTimeout}
        nova_service_password: {Ref: NovaPassword}
        user: {Ref: PowerUserName}
        ssh_host: {Ref: PowerSSHHost}
        ssh_key: {Ref: PowerSSHPrivateKey}