Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / network / ports / noop.yaml
1 heat_template_version: ocata
2
3 description: >
4   Returns the control plane port (provisioning network) as the ip_address.
5
6 parameters:
7   ServiceName: # Here for compatibility with from_service.yaml
8     description: Name of the service to lookup
9     default: ''
10     type: string
11   ControlPlaneIP:
12     description: IP address on the control plane
13     type: string
14   ControlPlaneNetwork:
15     description: Name of the control plane network
16     default: ctlplane
17     type: string
18   PortName:
19     description: Name of the port
20     default: ''
21     type: string
22   NetworkName:
23     description: # Here for compatibility with vip.yaml
24     default: ''
25     type: string
26   FixedIPs:
27     description: # Here for compatibility with vip.yaml
28     default: []
29     type: json
30   ControlPlaneSubnetCidr: # Override this via parameter_defaults
31     default: '24'
32     description: The subnet CIDR of the control plane network.
33     type: string
34   IPPool: # Here for compatibility with from_pool.yaml
35     default: {}
36     description: A network mapped list of IPs
37     type: json
38   NodeIndex: # Here for compatibility with from_pool.yaml
39     default: 0
40     description: Index of the IP to get from Pool
41     type: number
42
43 outputs:
44   ip_address:
45     description: pass thru network IP
46     value: {get_param: ControlPlaneIP}
47   ip_address_uri:
48     description: pass thru network IP (for compatibility with vip_v6.yaml)
49     value: {get_param: ControlPlaneIP}
50   ip_subnet:
51     description: IP/Subnet CIDR for the pass thru network IP
52     value:
53           list_join:
54             - ''
55             - - {get_param: ControlPlaneIP}
56               - '/'
57               - {get_param: ControlPlaneSubnetCidr}