diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-08-29 23:13:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-08-29 23:13:00 +0000 |
commit | ec7abd73d7debdc887ed552c676db21450d81d81 (patch) | |
tree | 05ee381f90c68ae4e69fc046fc40f833cdd4f16a /overcloud-vlan-port.yaml | |
parent | 1c7e2c8cd7051398c32a4c9fbd74b90a1e193c59 (diff) | |
parent | 91e763f748e098b6c1fc13dc63fb1e612b36a64f (diff) |
Merge "Expose public_interface_tag support."
Diffstat (limited to 'overcloud-vlan-port.yaml')
-rw-r--r-- | overcloud-vlan-port.yaml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/overcloud-vlan-port.yaml b/overcloud-vlan-port.yaml new file mode 100644 index 00000000..e962e7a0 --- /dev/null +++ b/overcloud-vlan-port.yaml @@ -0,0 +1,38 @@ +outputs: + controller0PublicIP: + description: Address for registering endpoints in the cloud. + value: {get_attr: [controller0VLANPort, fixed_ips, 0, ip_address]} +resources: + # Override the main template which can also supply a static route. + controller0_99_VLANPort: + type: OS::Heat::StructuredDeployment + properties: + config: {get_resource: ControllerVLANPortConfig} + server: {get_resource: controller0} + signal_transport: NO_SIGNAL + input_values: + vlan_port: + list_join: + - '/' + - - {get_attr: [controller0_VLANPort, fixed_ips, 0, ip_address]} + # This should also be pulled out of the subnet. May need a + # neutron fix too - XXX make into a parameter and feed it + # in via _overcloud.sh for now. + - '24' + # Tell the instance to apply the default route. + # Reinstate when https://bugs.launchpad.net/heat/+bug/1336656 is + # sorted + # public_interface_route: + # get_attr: [controller0_VLANPort, fixed_ips, 0, subnet, gateway_ip] + ControllerVLANPortConfig: + type: OS::Heat::StructuredConfig + properties: + config: + neutron: + ovs: + public_interface_tag_ip: {get_input: vlan_port} + controller0_VLANPort: + type: OS::Neutron::Port + properties: + name: controller0_vlan + network: public |