Make many networking parameters consistent
[apex-tripleo-heat-templates.git] / network / ports / noop.yaml
1 heat_template_version: pike
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: The name of the undercloud Neutron control plane
16     default: ctlplane
17     type: string
18   PortName:
19     description: Name of the port
20     default: ''
21     type: string
22   NetworkName: # Here for compatibility with vip.yaml
23     description: Name of the network where the VIP will be created
24     default: ctlplane
25     type: string
26   FixedIPs:
27     description: >
28         Control the IP allocation for the VIP port. E.g.
29         [{'ip_address':'1.2.3.4'}]
30     default: []
31     type: json
32   ControlPlaneSubnetCidr: # Override this via parameter_defaults
33     default: '24'
34     description: The subnet CIDR of the control plane network.
35     type: string
36   IPPool: # Here for compatibility with from_pool.yaml
37     default: {}
38     description: A network mapped list of IPs
39     type: json
40   NodeIndex: # Here for compatibility with from_pool.yaml
41     default: 0
42     description: Index of the IP to get from Pool
43     type: number
44
45 outputs:
46   ip_address:
47     description: pass thru network IP
48     value: {get_param: ControlPlaneIP}
49   ip_address_uri:
50     description: pass thru network IP (for compatibility with vip_v6.yaml)
51     value: {get_param: ControlPlaneIP}
52   ip_subnet:
53     description: IP/Subnet CIDR for the pass thru network IP
54     value:
55           list_join:
56             - ''
57             - - {get_param: ControlPlaneIP}
58               - '/'
59               - {get_param: ControlPlaneSubnetCidr}