Fixing resources path in OpenDaylight
[apex-tripleo-heat-templates.git] / network / ports / from_service.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   Returns an IP from a service mapped list of IPs
5
6 parameters:
7   ServiceName:
8     description: Name of the service to lookup
9     default: ''
10     type: string
11   NetworkName: # Here for compatibility 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 compatibility with ctlplane_vip.yaml
16     description: Name of the port
17     default: ''
18     type: string
19   ControlPlaneIP: # Here for compatibility with ctlplane_vip.yaml
20     description: IP address on the control plane
21     default: ''
22     type: string
23   ControlPlaneNetwork: # Here for compatibility with ctlplane_vip.yaml
24     description: The name of the undercloud Neutron control plane
25     default: ctlplane
26     type: string
27   ServiceVips:
28     default: {}
29     type: json
30
31 outputs:
32   ip_address:
33     description: network IP
34     value: {get_param: [ServiceVips, {get_param: ServiceName}]}
35   ip_address_uri:
36     description: network IP (for compatibility with IPv6)
37     value: {get_param: [ServiceVips, {get_param: ServiceName}]}