Merge "Make turning debug on globally easy."
[apex-tripleo-heat-templates.git] / undercloud-vlan-port.yaml
1 outputs:
2   PublicIP:
3     description: Address for registering endpoints in the cloud.
4     value: {get_attr: [undercloud_VLANPort, fixed_ips, 0, ip_address]}
5 resources:
6   # Override the main template which can also supply a static route.
7   undercloud_99VLANPort:
8     type: OS::Heat::StructuredDeployment
9     properties:
10       config: {get_resource: undercloudVLANPortConfig}
11       server: {get_resource: undercloud}
12       signal_transport: NO_SIGNAL
13   undercloudVLANPortConfig:
14     type: OS::Heat::StructuredConfig
15     properties:
16       config:
17         neutron:
18           ovs:
19             public_interface_tag_ip:
20               Fn::Join:
21               - '/'
22               - - {get_attr: [undercloud_VLANPort, fixed_ips, 0, ip_address]}
23                 - '24'
24                 # This should also be pulled out of the subnet. May need a
25                 # neutron fix too - XXX make into a parameter and feed it
26                 # in via _undercloud.sh for now.
27             # Tell the instance to apply the default route.
28             # Reinstate when https://bugs.launchpad.net/heat/+bug/1336656 is
29             # sorted
30             # public_interface_route:
31             #   get_attr: [undercloud_VLANPort, fixed_ips, 0, subnet, gateway_ip]
32   undercloud_VLANPort:
33     type: OS::Neutron::Port
34     properties:
35       name: undercloud_vlan
36       network: public