X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=undercloud-vm-nova-deploy.yaml;h=da15b46db00fa48117c0563ccbe26bdc5c7e48a6;hb=26d873f19002ec9c6318da1ab708a824e01be3a0;hp=1689036043644f8cad2ea40b8f5c479cc686e3b1;hpb=441b60b43c5acff0ead6203dc7e28621db363c82;p=apex-tripleo-heat-templates.git diff --git a/undercloud-vm-nova-deploy.yaml b/undercloud-vm-nova-deploy.yaml index 16890360..da15b46d 100644 --- a/undercloud-vm-nova-deploy.yaml +++ b/undercloud-vm-nova-deploy.yaml @@ -1,40 +1,52 @@ -Parameters: +parameters: NeutronPublicInterface: - Default: eth0 - Description: What interface to bridge onto br-ex for network nodes. - Type: String + default: nic1 + description: What interface to bridge onto br-ex for network nodes. + type: string + NovaComputeDriver: + default: baremetal.driver.BareMetalDriver + description: Full class name for the Nova compute driver + type: string + NovaComputeManager: + default: nova.compute.manager.ComputeManager + description: Full class name for the Nova compute manager + type: string + NovaSchedulerHostManager: + default: nova.scheduler.host_manager.HostManager + description: Full class name for the Nova scheduler host manager + 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 + default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager + description: Bare metal power manager driver. + type: string PowerSSHHost: - Default: 192.168.122.1 - Description: SSH host to ssh to for power management operations. - Type: String + 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 + 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: - 01_undercloudNovaDeployment: - Type: OS::Heat::StructuredDeployment - Properties: - config: {Ref: undercloudNovaConfig} - server: {Ref: undercloud} + default: stack + description: What username to ssh to the virtual power host with. + type: string + PxeDeployTimeout: + default: 2400 + description: Timeout for PXE deployment of baremetal nodes + type: number +resources: + undercloudNovaDeployment: + type: OS::Heat::StructuredDeployment + properties: + config: {get_resource: undercloudNovaConfig} + server: {get_resource: 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} + 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}