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