Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / network / ports / management_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   ManagementNetName:
9     description: Name of the management network
10     default: management
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   ManagementNetCidr:
29     default: 'fd00:fd00:fd00:6000::/64'
30     description: Cidr for the management network.
31     type: string
32
33 outputs:
34   ip_address:
35     description: management network IP
36     value: {get_param: [IPPool, {get_param: ManagementNetName}, {get_param: NodeIndex}]}
37   ip_address_uri:
38     description: management network IP (for compatibility with management_v6.yaml)
39     value:
40           list_join:
41           - ''
42           - - '['
43             - {get_param: [IPPool, {get_param: ManagementNetName}, {get_param: NodeIndex}]}
44             - ']'
45   ip_subnet:
46     description: IP/Subnet CIDR for the management network IP
47     value:
48       list_join:
49       - ''
50       - - {get_param: [IPPool, {get_param: ManagementNetName}, {get_param: NodeIndex}]}
51         - '/'
52         - {str_split: ['/', {get_param: ManagementNetCidr}, 1]}