Merge "Changing the default port-binding configuration"
[apex-tripleo-heat-templates.git] / network / ports / net_vip_map_external_v6.yaml
1 heat_template_version: pike
2
3 parameters:
4   # Set these via parameter defaults to configure external VIPs
5   ControlPlaneIP:
6     default: ''
7     type: string
8   ExternalNetworkVip:
9     default: ''
10     type: string
11   InternalApiNetworkVip:
12     default: ''
13     type: string
14   StorageNetworkVip:
15     default: ''
16     type: string
17   StorageMgmtNetworkVip:
18     default: ''
19     type: string
20   # The following are unused in this template
21   ControlPlaneIp:
22     default: ''
23     type: string
24   ExternalIp:
25     default: ''
26     type: string
27   ExternalIpUri:
28     default: ''
29     type: string
30     description: IP address with brackets in case of IPv6
31   InternalApiIp:
32     default: ''
33     type: string
34   InternalApiIpUri:
35     default: ''
36     type: string
37     description: IP address with brackets in case of IPv6
38   StorageIp:
39     default: ''
40     type: string
41   StorageIpUri:
42     default: ''
43     type: string
44     description: IP address with brackets in case of IPv6
45   StorageMgmtIp:
46     default: ''
47     type: string
48   StorageMgmtIpUri:
49     default: ''
50     type: string
51     description: IP address with brackets in case of IPv6
52
53 outputs:
54   net_ip_map:
55     description: >
56       A Hash containing a mapping of network names to assigned IPs
57       for a specific machine.
58     value:
59       ctlplane: {get_param: ControlPlaneIP}
60       external: {get_param: ExternalNetworkVip}
61       internal_api: {get_param: InternalApiNetworkVip}
62       storage: {get_param: StorageNetworkVip}
63       storage_mgmt: {get_param: StorageMgmtNetworkVip}
64       ctlplane_uri: {get_param: ControlPlaneIP}
65       external_uri:
66         list_join:
67           - ''
68           - - '['
69             - {get_param: ExternalNetworkVip}
70             - ']'
71       internal_api_uri:
72         list_join:
73           - ''
74           - - '['
75             - {get_param: InternalApiNetworkVip}
76             - ']'
77       storage_uri:
78         list_join:
79           - ''
80           - - '['
81             - {get_param: StorageNetworkVip}
82             - ']'
83       storage_mgmt_uri:
84         list_join:
85           - ''
86           - - '['
87             - {get_param: StorageMgmtNetworkVip}
88             - ']'