80060b570827de5aa807ce24a1fd540bcd1c6391
[apex-tripleo-heat-templates.git] / network / ports / from_service_v6.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   Returns an IP from a service mapped list of IPv6 IPs
5
6 parameters:
7   ServiceName:
8     description: Name of the service to lookup
9     default: ''
10     type: string
11   NetworkName: # Here for compatability with ctlplane_vip.yaml
12     description: Name of the network where the VIP will be created
13     default: ctlplane
14     type: string
15   PortName: # Here for compatability with ctlplane_vip.yaml
16     description: Name of the port
17     default: ''
18     type: string
19   ControlPlaneIP: # Here for compatability with ctlplane_vip.yaml
20     description: IP address on the control plane
21     default: ''
22     type: string
23   ControlPlaneNetwork: # Here for compatability with ctlplane_vip.yaml
24     description: The name of the undercloud Neutron control plane
25     default: ctlplane
26     type: string
27   FixedIPs: # Here for compatibility with ctlplane_vip.yaml
28     description: >
29         Control the IP allocation for the VIP port. E.g.
30         [{'ip_address':'1.2.3.4'}]
31     default: []
32     type: json
33   ServiceVips:
34     default: {}
35     type: json
36
37 outputs:
38   ip_address:
39     description: network IP
40     value: {get_param: [ServiceVips, {get_param: ServiceName}]}
41   ip_address_uri:
42     description: network IP (with brackets for use in URLs)
43     value:
44           list_join:
45           - ''
46           - - '['
47             - {get_param: [ServiceVips, {get_param: ServiceName}]}
48             - ']'