aboutsummaryrefslogtreecommitdiffstats
path: root/network/ports/internal_api_from_pool_v6.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-04 09:37:37 +0000
committerGerrit Code Review <review@openstack.org>2016-05-04 09:37:37 +0000
commitecb86f35ba971bdaa48e821a91e71a20a95b0691 (patch)
tree6a79d3d3c1f9fe23ff40ce30982332627f3d07f7 /network/ports/internal_api_from_pool_v6.yaml
parent10dae1c697aab4b896154000687c3f40adba1e0e (diff)
parentb9bb2633c5503dc23a3316eb352f1a1ef1769289 (diff)
Merge "Use str_split to compute netmask in _v6 port templates"
Diffstat (limited to 'network/ports/internal_api_from_pool_v6.yaml')
-rw-r--r--network/ports/internal_api_from_pool_v6.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/ports/internal_api_from_pool_v6.yaml b/network/ports/internal_api_from_pool_v6.yaml
index 34c17ab2..8d0a91b6 100644
--- a/network/ports/internal_api_from_pool_v6.yaml
+++ b/network/ports/internal_api_from_pool_v6.yaml
@@ -1,4 +1,4 @@
-heat_template_version: 2015-04-30
+heat_template_version: 2015-10-15
description: >
Returns an IP from a network mapped list of IPs. This version is for IPv6
@@ -43,12 +43,10 @@ outputs:
- {get_param: [IPPool, {get_param: InternalApiNetName}, {get_param: NodeIndex}]}
- ']'
ip_subnet:
- # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
description: IP/Subnet CIDR for the internal API network IP
value:
list_join:
- ''
- - {get_param: [IPPool, {get_param: InternalApiNetName}, {get_param: NodeIndex}]}
- '/'
- - {get_param: [InternalApiNetCidr, -2]}
- - {get_param: [InternalApiNetCidr, -1]}
+ - {str_split: ['/', {get_attr: [InternalApiPort, subnets, 0, cidr]}, 1]}