tripleo-heat-templates/undercloud-vm-ironic-deploy.yaml
Dan Prince 656b8385ef Undercloud params for compute driver and manager
Add undercloud template parameters for NovaComputeDriver,
NovaComputeManager, and NovaSchedulerHostManager.

The motivation here is to be able to test configure Nova to use
the new (in-tree) Ironic compute driver (which used to live
in Ironic).

NOTE: The initial Nova in-tree Ironic driver won't have its
own ClusteredComputeManager (compute_manager). Even so I've
gone ahead and added a parameter for NovaComputeManager
so we can modify this accordingly in the future without
making hard coded template changes.

Change-Id: Ib48a6b6d8a6cff157bdf3948bd0330e9b29dd46a
2014-09-05 16:18:01 -04:00

45 lines
1.6 KiB
YAML

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
NovaComputeDriver:
default: ironic.nova.virt.ironic.driver.IronicDriver
description: Full class name for the Nova compute driver
type: string
NovaComputeManager:
default: ironic.nova.compute.manager.ClusteredComputeManager
description: Full class name for the Nova compute manager
type: string
NovaSchedulerHostManager:
default: ironic.nova.scheduler.ironic_host_manager.IronicHostManager
description: Full class name for the Nova scheduler host manager
type: string
PowerSSHPrivateKey:
description: Private key for using to ssh to a virtual power host.
type: string
hidden: true
resources:
undercloudNovaDeployment:
depends_on: [undercloudIronicDeployment]
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}
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}