diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-02-24 21:12:50 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-02-24 21:12:50 +0000 |
commit | 7261951737022d794298bea7f561e4efab1e5f66 (patch) | |
tree | 20cbd8abd6aa3de275dc2b6301144400e6b48169 /deprecated/overcloud-vlan-port.yaml | |
parent | 62ab434139c4576afe84b7b0b08374261fc79563 (diff) | |
parent | c82b6cec10e1b411774d2f4d5d51565ba7c3550c (diff) |
Merge "Deprecate the old mergepy overcloud templates"
Diffstat (limited to 'deprecated/overcloud-vlan-port.yaml')
-rw-r--r-- | deprecated/overcloud-vlan-port.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/deprecated/overcloud-vlan-port.yaml b/deprecated/overcloud-vlan-port.yaml new file mode 100644 index 00000000..8f6f6937 --- /dev/null +++ b/deprecated/overcloud-vlan-port.yaml @@ -0,0 +1,39 @@ +outputs: + controller0PublicIP: + description: Address for registering endpoints in the cloud. + value: {get_attr: [controller0_VLANPort, 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 + replacement_policy: AUTO |