Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / network / ports / storage_mgmt_from_pool_v6.yaml
1 heat_template_version: ocata
2
3 description: >
4   Returns an IP from a network mapped list of IPs This version is for IPv6
5   addresses. The ip_address_uri output will have brackets for use in URLs.
6
7 parameters:
8   StorageMgmtNetName:
9     description: Name of the storage MGMT network
10     default: storage_mgmt
11     type: string
12   PortName:
13     description: Name of the port
14     default: ''
15     type: string
16   ControlPlaneIP: # Here for compatability with noop.yaml
17     description: IP address on the control plane
18     default: ''
19     type: string
20   IPPool:
21     default: {}
22     description: A network mapped list of IPs
23     type: json
24   NodeIndex:
25     default: 0
26     description: Index of the IP to get from Pool
27     type: number
28   StorageMgmtNetCidr:
29     default: 'fd00:fd00:fd00:4000::/64'
30     description: Cidr for the storage MGMT network.
31     type: string
32
33 outputs:
34   ip_address:
35     description: storage MGMT network IP
36     value: {get_param: [IPPool, {get_param: StorageMgmtNetName}, {get_param: NodeIndex}]}
37   ip_address_uri:
38     description: storage MGMT network IP (for compatibility with storage_mgmt_v6.yaml)
39     value:
40           list_join:
41           - ''
42           - - '['
43             - {get_param: [IPPool, {get_param: StorageMgmtNetName}, {get_param: NodeIndex}]}
44             - ']'
45   ip_subnet:
46     description: IP/Subnet CIDR for the storage MGMT network IP
47     value:
48       list_join:
49       - ''
50       - - {get_param: [IPPool, {get_param: StorageMgmtNetName}, {get_param: NodeIndex}]}
51         - '/'
52         - {str_split: ['/', {get_param: StorageMgmtNetCidr}, 1]}