tripleo-heat-templates/undercloud-vm-nova-deploy.yaml
Dan Prince 8dd57aa961 Set default network interfaces to nic1
Now that we are using os-net-config we can make use of
the nic naming abstraction layer where the actual physical
nic name is mapped automatically.

This change removes all the eth0 references and replaces
them with nic1 which should make it more likely
that these default values would actually work on
some distributions.

It also removes the single instance of eth2 in the
undercloud-bm-nova-deploy.yaml template and replaces
it with nic1 as well. Underclouds aren't a special case
in this regard (I run my bare metal undercloud on em1)
so there is no good reason to default to the second nic.

Change-Id: I3ea92a502bc4b8789f74913f232ac8bc6b843008
2014-12-05 15:16:12 -05:00

53 lines
1.8 KiB
YAML

parameters:
NeutronPublicInterface:
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
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
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: {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}