Merge "Remove tenant_id from nova v2.1 endpoint"
[apex-tripleo-heat-templates.git] / network / ports / net_ip_map.yaml
1 heat_template_version: 2015-04-30
2
3 parameters:
4   ControlPlaneIp:
5     default: ''
6     type: string
7   ControlPlaneSubnetCidr: # Override this via parameter_defaults
8     default: '24'
9     description: The subnet CIDR of the control plane network.
10     type: string
11   ExternalIp:
12     default: ''
13     type: string
14   ExternalIpSubnet:
15     default: ''
16     type: string
17   ExternalIpUri:
18     default: ''
19     type: string
20     description: IP address with brackets in case of IPv6
21   InternalApiIp:
22     default: ''
23     type: string
24   InternalApiIpSubnet:
25     default: ''
26     type: string
27   InternalApiIpUri:
28     default: ''
29     type: string
30     description: IP address with brackets in case of IPv6
31   StorageIp:
32     default: ''
33     type: string
34   StorageIpSubnet:
35     default: ''
36     type: string
37   StorageIpUri:
38     default: ''
39     type: string
40     description: IP address with brackets in case of IPv6
41   StorageMgmtIp:
42     default: ''
43     type: string
44   StorageMgmtIpSubnet:
45     default: ''
46     type: string
47   StorageMgmtIpUri:
48     default: ''
49     type: string
50     description: IP address with brackets in case of IPv6
51   TenantIp:
52     default: ''
53     type: string
54   TenantIpSubnet:
55     default: ''
56     type: string
57   TenantIpUri:
58     default: ''
59     type: string
60     description: IP address with brackets in case of IPv6
61   ManagementIp:
62     default: ''
63     type: string
64   ManagementIpSubnet:
65     default: ''
66     type: string
67   ManagementIpUri:
68     default: ''
69     type: string
70     description: IP address with brackets in case of IPv6
71
72 outputs:
73   net_ip_map:
74     description: >
75       A Hash containing a mapping of network names to assigned IPs
76       for a specific machine.
77     value:
78       ctlplane: {get_param: ControlPlaneIp}
79       external: {get_param: ExternalIp}
80       internal_api: {get_param: InternalApiIp}
81       storage: {get_param: StorageIp}
82       storage_mgmt: {get_param: StorageMgmtIp}
83       tenant: {get_param: TenantIp}
84       management: {get_param: ManagementIp}
85   net_ip_subnet_map:
86     description: >
87       A Hash containing a mapping of network names to assigned IPs/CIDR
88       for a specific machine.
89     value:
90       ctlplane:
91         list_join:
92           - ''
93           - - {get_param: ControlPlaneIp}
94             - '/'
95             - {get_param: ControlPlaneSubnetCidr}
96       external: {get_param: ExternalIpSubnet}
97       internal_api: {get_param: InternalApiIpSubnet}
98       storage: {get_param: StorageIpSubnet}
99       storage_mgmt: {get_param: StorageMgmtIpSubnet}
100       tenant: {get_param: TenantIpSubnet}
101       management: {get_param: ManagementIpSubnet}
102   net_ip_uri_map:
103     description: >
104       A Hash containing a mapping of network names to assigned IPs for a
105       specific machine with brackets around IPv6 addresses for use in URLs.
106     value:
107       ctlplane: {get_param: ControlPlaneIp}
108       external: {get_param: ExternalIpUri}
109       internal_api: {get_param: InternalApiIpUri}
110       storage: {get_param: StorageIpUri}
111       storage_mgmt: {get_param: StorageMgmtIpUri}
112       tenant: {get_param: TenantIpUri}
113       management: {get_param: ManagementIpUri}