Merge "Enable predictable IPs on non-controllers"
[apex-tripleo-heat-templates.git] / network / ports / net_vip_map_external_v6.yaml
1 heat_template_version: 2015-04-30
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   InternalApiIp:
31     default: ''
32     type: string
33   InternalApiIpUri:
34     default: ''
35     type: string
36   StorageIp:
37     default: ''
38     type: string
39   StorageIpUri:
40     default: ''
41     type: string
42   StorageMgmtIp:
43     default: ''
44     type: string
45   StorageMgmtIpUri:
46     default: ''
47     type: string
48   TenantIp:
49     default: ''
50     type: string
51   TenantIpUri:
52     default: ''
53     type: string
54
55 outputs:
56   net_ip_map:
57     description: >
58       A Hash containing a mapping of network names to assigned IPs
59       for a specific machine.
60     value:
61       ctlplane: {get_param: ControlPlaneIP}
62       external: {get_param: ExternalNetworkVip}
63       internal_api: {get_param: InternalApiNetworkVip}
64       storage: {get_param: StorageNetworkVip}
65       storage_mgmt: {get_param: StorageMgmtNetworkVip}
66   net_ip_uri_map:
67     description: >
68       A Hash containing a mapping of netowrk names to assigned IPs for a
69       specific machine with brackets around IPv6 addresses for use in URLs.
70     value:
71       ctlplane: {get_param: ControlPlaneIP}
72       external:
73         list_join:
74           - ''
75           - - '['
76             - {get_param: ExternalNetworkVip}
77             - ']'
78       internal_api:
79         list_join:
80           - ''
81           - - '['
82             - {get_param: InternalApiNetworkVip}
83             - ']'
84       storage:
85         list_join:
86           - ''
87           - - '['
88             - {get_param: StorageNetworkVip}
89             - ']'
90       storage_mgmt:
91         list_join:
92           - ''
93           - - '['
94             - {get_param: StorageMgmtNetworkVip}
95             - ']'