tripleo-heat-templates/deployed-server/ctlplane-port.yaml
Dan Prince 9450cc222d Make deployed-server OS::Neutron::Port optional
This patch makes it possible to set
OS::TripleO::DeployedServer::ControlPlanePort: OS::Heat::None
in your resource_registry and thereby avoid the creation of
a neutron port for the deployed server. This is useful if
you are bootstrapping things in an environment without
Neutron.

Also, includes a new deployed-server-noop-ctlplane.yaml
environment file.

Change-Id: I2990dc816698e0f6e3193a8fc7c9c6767c6e50e5
2016-08-07 07:29:06 -04:00

24 lines
425 B
YAML

heat_template_version: 2014-10-16
parameters:
Hostname:
type: string
resources:
ControlPlanePort:
type: OS::Neutron::Port
properties:
network: ctlplane
name:
list_join:
- '-'
- - {get_param: Hostname}
- ctlplane
- port
replacement_policy: AUTO
outputs:
ip_address:
value: {get_attr: [ControlPlanePort, fixed_ips, 0, ip_address]}