parameters:
  IronicPassword:
    type: string
    description: Ironic password for keystone access
    hidden: true
  NeutronPublicInterface:
    default: eth0
    description: What interface to bridge onto br-ex for network nodes.
    type: string
  PowerSSHPrivateKey:
    description: Private key for using to ssh to a virtual power host.
    type: string
    hidden: true
resources:
  01_undercloudNovaDeployment:
    type: OS::Heat::StructuredDeployment
    properties:
      config: {get_resource: undercloudNovaConfig}
      server: {get_resource: undercloud}
      signal_transport: NO_SIGNAL
      input_values:
        nova_service_password: {get_param: NovaPassword}
  02_undercloudIronicDeployment:
    type: OS::Heat::StructuredDeployment
    properties:
      config: {get_resource: undercloudIronicConfig}
      server: {get_resource: undercloud}
      signal_transport: NO_SIGNAL
      input_values:
        ironic_service_password: {get_param: IronicPassword}
        virtual_power_ssh_key: {get_param: PowerSSHPrivateKey}