diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-14 23:11:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-14 23:11:34 +0000 |
commit | 07a5fe1ba66cbad5afafbbd30d2d78129cb90bae (patch) | |
tree | 1baecf44304a0c4a6459a1011312abfe65e6e5fd /overcloud.j2.yaml | |
parent | 66e1d882505a3335e290d1943a2d2b15909fd73f (diff) | |
parent | baf6eee5016fac7004a7b8be6f78d4505f347aeb (diff) |
Merge "Adds network/cidr mapping into a new service property"
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r-- | overcloud.j2.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index 0fc410d6..5bd1cec8 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -254,6 +254,20 @@ resources: properties: length: 10 + NetCidrMapValue: + type: OS::Heat::Value + properties: + type: json + value: + map_replace: + - map_merge: + - {get_attr: [Networks, net_cidr_map]} + - ctlplane: {get_attr: [ControlVirtualIP, subnets, 0, cidr]} + - keys: + ctlplane: {get_param: NeutronControlPlaneID} + values: + disabled: {get_attr: [ControlVirtualIP, subnets, 0, cidr]} + ServiceNetMap: type: OS::TripleO::ServiceNetMap @@ -294,6 +308,8 @@ resources: Services: get_param: {{role.name}}Services ServiceNetMap: {get_attr: [ServiceNetMap, service_net_map]} + ServiceData: + net_cidr_map: {get_attr: [NetCidrMapValue, value]} EndpointMap: {get_attr: [EndpointMap, endpoint_map]} DefaultPasswords: {get_attr: [DefaultPasswords, passwords]} RoleName: {{role.name}} |