Merge "Containerize Horizon"
[apex-tripleo-heat-templates.git] / puppet / blockstorage-role.yaml
1 heat_template_version: pike
2 description: 'OpenStack cinder storage configured by Puppet'
3 parameters:
4   BlockStorageImage:
5     default: overcloud-full
6     type: string
7     constraints:
8       - custom_constraint: glance.image
9   ExtraConfig:
10     default: {}
11     description: |
12       Additional hiera configuration to inject into the cluster. Note
13       that BlockStorageExtraConfig takes precedence over ExtraConfig.
14     type: json
15   BlockStorageExtraConfig:
16     default: {}
17     description: |
18       Role specific additional hiera configuration to inject into the cluster.
19     type: json
20   BlockStorageIPs:
21     default: {}
22     type: json
23   OvercloudBlockStorageFlavor:
24     description: Flavor for block storage nodes to request when deploying.
25     type: string
26     default: baremetal
27     constraints:
28       - custom_constraint: nova.flavor
29   KeyName:
30     default: default
31     description: Name of an existing Nova key pair to enable SSH access to the instances
32     type: string
33   UpdateIdentifier:
34     default: ''
35     type: string
36     description: >
37       Setting to a previously unused value during stack-update will trigger
38       package update on all nodes
39   Hostname:
40     type: string
41     default: '' # Defaults to Heat created hostname
42   HostnameMap:
43     type: json
44     default: {}
45     description: Optional mapping to override hostnames
46   ServiceNetMap:
47     default: {}
48     description: Mapping of service_name -> network name. Typically set
49                  via parameter_defaults in the resource registry.
50     type: json
51   EndpointMap:
52     default: {}
53     description: Mapping of service endpoint -> protocol. Typically set
54                  via parameter_defaults in the resource registry.
55     type: json
56   NetworkDeploymentActions:
57     type: comma_delimited_list
58     description: >
59       Heat action when to apply network configuration changes
60     default: ['CREATE']
61   SoftwareConfigTransport:
62     default: POLL_SERVER_CFN
63     description: |
64       How the server should receive the metadata required for software configuration.
65     type: string
66     constraints:
67     - allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE]
68   CloudDomain:
69     default: 'localdomain'
70     type: string
71     description: >
72       The DNS domain used for the hosts. This should match the dhcp_domain
73       configured in the Undercloud neutron. Defaults to localdomain.
74   BlockStorageServerMetadata:
75     default: {}
76     description: >
77       Extra properties or metadata passed to Nova for the created nodes in
78       the overcloud. It's accessible via the Nova metadata API. This option is
79       role-specific and is merged with the values given to the ServerMetadata
80       parameter.
81     type: json
82   ServerMetadata:
83     default: {}
84     description: >
85       Extra properties or metadata passed to Nova for the created nodes in
86       the overcloud. It's accessible via the Nova metadata API. This applies to
87       all roles and is merged with a role-specific metadata parameter.
88     type: json
89   BlockStorageSchedulerHints:
90     type: json
91     description: Optional scheduler hints to pass to nova
92     default: {}
93   NodeIndex:
94     type: number
95     default: 0
96   ServiceConfigSettings:
97     type: json
98     default: {}
99   ServiceNames:
100     type: comma_delimited_list
101     default: []
102   MonitoringSubscriptions:
103     type: comma_delimited_list
104     default: []
105   ServiceMetadataSettings:
106     type: json
107     default: {}
108   ConfigCommand:
109     type: string
110     description: Command which will be run whenever configuration data changes
111     default: os-refresh-config --timeout 14400
112   ConfigCollectSplay:
113     type: number
114     default: 30
115     description: |
116       Maximum amount of time to possibly to delay configuation collection
117       polling. Defaults to 30 seconds. Set to 0 to disable it which will cause
118       the configuration collection to occur as soon as the collection process
119       starts.  This setting is used to prevent the configuration collection
120       processes from polling all at the exact same time.
121   UpgradeInitCommand:
122     type: string
123     description: |
124       Command or script snippet to run on all overcloud nodes to
125       initialize the upgrade process. E.g. a repository switch.
126     default: ''
127   UpgradeInitCommonCommand:
128     type: string
129     description: |
130       Common commands required by the upgrades process. This should not
131       normally be modified by the operator and is set and unset in the
132       major-upgrade-composable-steps.yaml and major-upgrade-converge.yaml
133       environment files.
134     default: ''
135   DeploymentServerBlacklistDict:
136     default: {}
137     type: json
138     description: >
139       Map of server hostnames to blacklist from any triggered
140       deployments. If the value is 1, the server will be blacklisted. This
141       parameter is generated from the parent template.
142
143 conditions:
144   server_not_blacklisted:
145     not:
146       equals:
147         - {get_param: [DeploymentServerBlacklistDict, {get_param: Hostname}]}
148         - 1
149
150 resources:
151   BlockStorage:
152     type: OS::TripleO::BlockStorageServer
153     metadata:
154       os-collect-config:
155         command: {get_param: ConfigCommand}
156         splay: {get_param: ConfigCollectSplay}
157     properties:
158       image:
159         {get_param: BlockStorageImage}
160       flavor: {get_param: OvercloudBlockStorageFlavor}
161       key_name: {get_param: KeyName}
162       networks:
163         - network: ctlplane
164       user_data_format: SOFTWARE_CONFIG
165       user_data: {get_resource: UserData}
166       name:
167         str_replace:
168             template: {get_param: Hostname}
169             params: {get_param: HostnameMap}
170       software_config_transport: {get_param: SoftwareConfigTransport}
171       metadata:
172         map_merge:
173           - {get_param: ServerMetadata}
174           - {get_param: BlockStorageServerMetadata}
175           - {get_param: ServiceMetadataSettings}
176       scheduler_hints: {get_param: BlockStorageSchedulerHints}
177
178   # Combine the NodeAdminUserData and NodeUserData mime archives
179   UserData:
180     type: OS::Heat::MultipartMime
181     properties:
182       parts:
183       - config: {get_resource: NodeAdminUserData}
184         type: multipart
185       - config: {get_resource: NodeUserData}
186         type: multipart
187       - config: {get_resource: RoleUserData}
188         type: multipart
189
190   # Creates the "heat-admin" user if configured via the environment
191   # Should return a OS::Heat::MultipartMime reference via OS::stack_id
192   NodeAdminUserData:
193     type: OS::TripleO::NodeAdminUserData
194
195   # For optional operator additional userdata
196   # Should return a OS::Heat::MultipartMime reference via OS::stack_id
197   NodeUserData:
198     type: OS::TripleO::NodeUserData
199
200   # For optional operator role-specific userdata
201   # Should return a OS::Heat::MultipartMime reference via OS::stack_id
202   RoleUserData:
203     type: OS::TripleO::BlockStorage::NodeUserData
204
205   ExternalPort:
206     type: OS::TripleO::BlockStorage::Ports::ExternalPort
207     properties:
208       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
209       IPPool: {get_param: BlockStorageIPs}
210       NodeIndex: {get_param: NodeIndex}
211
212   InternalApiPort:
213     type: OS::TripleO::BlockStorage::Ports::InternalApiPort
214     properties:
215       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
216       IPPool: {get_param: BlockStorageIPs}
217       NodeIndex: {get_param: NodeIndex}
218
219   StoragePort:
220     type: OS::TripleO::BlockStorage::Ports::StoragePort
221     properties:
222       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
223       IPPool: {get_param: BlockStorageIPs}
224       NodeIndex: {get_param: NodeIndex}
225
226   StorageMgmtPort:
227     type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
228     properties:
229       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
230       IPPool: {get_param: BlockStorageIPs}
231       NodeIndex: {get_param: NodeIndex}
232
233   TenantPort:
234     type: OS::TripleO::BlockStorage::Ports::TenantPort
235     properties:
236       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
237       IPPool: {get_param: BlockStorageIPs}
238       NodeIndex: {get_param: NodeIndex}
239
240   ManagementPort:
241     type: OS::TripleO::BlockStorage::Ports::ManagementPort
242     properties:
243       ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
244       IPPool: {get_param: BlockStorageIPs}
245       NodeIndex: {get_param: NodeIndex}
246
247   NetworkConfig:
248     type: OS::TripleO::BlockStorage::Net::SoftwareConfig
249     properties:
250       ControlPlaneIp: {get_attr: [BlockStorage, networks, ctlplane, 0]}
251       ExternalIpSubnet: {get_attr: [ExternalPort, ip_subnet]}
252       InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
253       StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
254       StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
255       TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
256       ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
257
258   NetIpMap:
259     type: OS::TripleO::Network::Ports::NetIpMap
260     properties:
261       ControlPlaneIp: {get_attr: [BlockStorage, networks, ctlplane, 0]}
262       ExternalIp: {get_attr: [ExternalPort, ip_address]}
263       ExternalIpSubnet: {get_attr: [ExternalPort, ip_subnet]}
264       ExternalIpUri: {get_attr: [ExternalPort, ip_address_uri]}
265       InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
266       InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
267       InternalApiIpUri: {get_attr: [InternalApiPort, ip_address_uri]}
268       StorageIp: {get_attr: [StoragePort, ip_address]}
269       StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
270       StorageIpUri: {get_attr: [StoragePort, ip_address_uri]}
271       StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
272       StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
273       StorageMgmtIpUri: {get_attr: [StorageMgmtPort, ip_address_uri]}
274       TenantIp: {get_attr: [TenantPort, ip_address]}
275       TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
276       TenantIpUri: {get_attr: [TenantPort, ip_address_uri]}
277       ManagementIp: {get_attr: [ManagementPort, ip_address]}
278       ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
279       ManagementIpUri: {get_attr: [ManagementPort, ip_address_uri]}
280
281   NetHostMap:
282     type: OS::Heat::Value
283     properties:
284       type: json
285       value:
286         external:
287           fqdn:
288             list_join:
289             - '.'
290             - - {get_attr: [BlockStorage, name]}
291               - external
292               - {get_param: CloudDomain}
293           short:
294             list_join:
295             - '.'
296             - - {get_attr: [BlockStorage, name]}
297               - external
298         internal_api:
299           fqdn:
300             list_join:
301             - '.'
302             - - {get_attr: [BlockStorage, name]}
303               - internalapi
304               - {get_param: CloudDomain}
305           short:
306             list_join:
307             - '.'
308             - - {get_attr: [BlockStorage, name]}
309               - internalapi
310         storage:
311           fqdn:
312             list_join:
313             - '.'
314             - - {get_attr: [BlockStorage, name]}
315               - storage
316               - {get_param: CloudDomain}
317           short:
318             list_join:
319             - '.'
320             - - {get_attr: [BlockStorage, name]}
321               - storage
322         storage_mgmt:
323           fqdn:
324             list_join:
325             - '.'
326             - - {get_attr: [BlockStorage, name]}
327               - storagemgmt
328               - {get_param: CloudDomain}
329           short:
330             list_join:
331             - '.'
332             - - {get_attr: [BlockStorage, name]}
333               - storagemgmt
334         tenant:
335           fqdn:
336             list_join:
337             - '.'
338             - - {get_attr: [BlockStorage, name]}
339               - tenant
340               - {get_param: CloudDomain}
341           short:
342             list_join:
343             - '.'
344             - - {get_attr: [BlockStorage, name]}
345               - tenant
346         management:
347           fqdn:
348             list_join:
349             - '.'
350             - - {get_attr: [BlockStorage, name]}
351               - management
352               - {get_param: CloudDomain}
353           short:
354             list_join:
355             - '.'
356             - - {get_attr: [BlockStorage, name]}
357               - management
358         ctlplane:
359           fqdn:
360             list_join:
361             - '.'
362             - - {get_attr: [BlockStorage, name]}
363               - ctlplane
364               - {get_param: CloudDomain}
365           short:
366             list_join:
367             - '.'
368             - - {get_attr: [BlockStorage, name]}
369               - ctlplane
370
371   PreNetworkConfig:
372     type: OS::TripleO::BlockStorage::PreNetworkConfig
373     properties:
374       server: {get_resource: BlockStorage}
375
376   NetworkDeployment:
377     type: OS::TripleO::SoftwareDeployment
378     depends_on: PreNetworkConfig
379     properties:
380       name: NetworkDeployment
381       config: {get_resource: NetworkConfig}
382       server: {get_resource: BlockStorage}
383       actions:
384         if:
385           - server_not_blacklisted
386           - {get_param: NetworkDeploymentActions}
387           - []
388
389   BlockStorageUpgradeInitConfig:
390     type: OS::Heat::SoftwareConfig
391     properties:
392       group: script
393       config:
394         list_join:
395         - ''
396         - - "#!/bin/bash\n\n"
397           - "if [[ -f /etc/resolv.conf.save ]] ; then rm /etc/resolv.conf.save; fi\n\n"
398           - get_param: UpgradeInitCommand
399           - get_param: UpgradeInitCommonCommand
400
401   # Note we may be able to make this conditional on UpgradeInitCommandNotEmpty
402   # but https://bugs.launchpad.net/heat/+bug/1649900 needs fixing first
403   BlockStorageUpgradeInitDeployment:
404     type: OS::Heat::SoftwareDeployment
405     depends_on: NetworkDeployment
406     properties:
407       name: BlockStorageUpgradeInitDeployment
408       server: {get_resource: BlockStorage}
409       config: {get_resource: BlockStorageUpgradeInitConfig}
410       actions:
411         if:
412           - server_not_blacklisted
413           - ['CREATE', 'UPDATE']
414           - []
415
416   BlockStorageDeployment:
417     type: OS::Heat::StructuredDeployment
418     depends_on: BlockStorageUpgradeInitDeployment
419     properties:
420       name: BlockStorageDeployment
421       server: {get_resource: BlockStorage}
422       config: {get_resource: BlockStorageConfig}
423       input_values:
424         enable_package_upgrade: {get_attr: [UpdateDeployment, update_managed_packages]}
425       actions:
426         if:
427           - server_not_blacklisted
428           - ['CREATE', 'UPDATE']
429           - []
430
431   # Map heat metadata into hiera datafiles
432   BlockStorageConfig:
433     type: OS::Heat::StructuredConfig
434     properties:
435       group: hiera
436       config:
437         hierarchy:
438           - '"%{::uuid}"'
439           - heat_config_%{::deploy_config_name}
440           - config_step
441           - volume_extraconfig
442           - extraconfig
443           - service_names
444           - service_configs
445           - volume
446           - bootstrap_node # provided by allNodesConfig
447           - all_nodes # provided by allNodesConfig
448           - vip_data # provided by allNodesConfig
449           - '"%{::osfamily}"'
450         merge_behavior: deeper
451         datafiles:
452           service_names:
453             service_names: {get_param: ServiceNames}
454             sensu::subscriptions: {get_param: MonitoringSubscriptions}
455           service_configs:
456             map_replace:
457               - {get_param: ServiceConfigSettings}
458               - values: {get_attr: [NetIpMap, net_ip_map]}
459           volume_extraconfig: {get_param: BlockStorageExtraConfig}
460           extraconfig: {get_param: ExtraConfig}
461           volume:
462             tripleo::packages::enable_upgrade: {get_input: enable_package_upgrade}
463             fqdn_internal_api: {get_attr: [NetHostMap, value, internal_api, fqdn]}
464             fqdn_storage: {get_attr: [NetHostMap, value, storage, fqdn]}
465             fqdn_storage_mgmt: {get_attr: [NetHostMap, value, storage_mgmt, fqdn]}
466             fqdn_tenant: {get_attr: [NetHostMap, value, tenant, fqdn]}
467             fqdn_management: {get_attr: [NetHostMap, value, management, fqdn]}
468             fqdn_ctlplane: {get_attr: [NetHostMap, value, ctlplane, fqdn]}
469
470   # Resource for site-specific injection of root certificate
471   NodeTLSCAData:
472     depends_on: BlockStorageDeployment
473     type: OS::TripleO::NodeTLSCAData
474     properties:
475       server: {get_resource: BlockStorage}
476
477   # Hook for site-specific additional pre-deployment config,
478   # applying to all nodes, e.g node registration/unregistration
479   NodeExtraConfig:
480     depends_on: NodeTLSCAData
481     type: OS::TripleO::NodeExtraConfig
482     properties:
483         server: {get_resource: BlockStorage}
484
485   UpdateConfig:
486     type: OS::TripleO::Tasks::PackageUpdate
487
488   UpdateDeployment:
489     type: OS::Heat::SoftwareDeployment
490     depends_on: NetworkDeployment
491     properties:
492       name: UpdateDeployment
493       config: {get_resource: UpdateConfig}
494       server: {get_resource: BlockStorage}
495       input_values:
496         update_identifier:
497           get_param: UpdateIdentifier
498       actions:
499         if:
500           - server_not_blacklisted
501           - ['CREATE', 'UPDATE']
502           - []
503
504   SshHostPubKey:
505     type: OS::TripleO::Ssh::HostPubKey
506     depends_on: BlockStorageDeployment
507     properties:
508         server: {get_resource: BlockStorage}
509
510 outputs:
511   ip_address:
512     description: IP address of the server in the ctlplane network
513     value: {get_attr: [BlockStorage, networks, ctlplane, 0]}
514   hostname:
515     description: Hostname of the server
516     value: {get_attr: [BlockStorage, name]}
517   hostname_map:
518     description: Mapping of network names to hostnames
519     value:
520       external: {get_attr: [NetHostMap, value, external, fqdn]}
521       internal_api: {get_attr: [NetHostMap, value, internal_api, fqdn]}
522       storage: {get_attr: [NetHostMap, value, storage, fqdn]}
523       storage_mgmt: {get_attr: [NetHostMap, value, storage_mgmt, fqdn]}
524       tenant: {get_attr: [NetHostMap, value, tenant, fqdn]}
525       management: {get_attr: [NetHostMap, value, management, fqdn]}
526       ctlplane: {get_attr: [NetHostMap, value, ctlplane, fqdn]}
527   hosts_entry:
528     value:
529       str_replace:
530         template: |
531           PRIMARYIP PRIMARYHOST.DOMAIN PRIMARYHOST
532           EXTERNALIP EXTERNALHOST.DOMAIN EXTERNALHOST
533           INTERNAL_APIIP INTERNAL_APIHOST.DOMAIN INTERNAL_APIHOST
534           STORAGEIP STORAGEHOST.DOMAIN STORAGEHOST
535           STORAGE_MGMTIP STORAGE_MGMTHOST.DOMAIN STORAGE_MGMTHOST
536           TENANTIP TENANTHOST.DOMAIN TENANTHOST
537           MANAGEMENTIP MANAGEMENTHOST.DOMAIN MANAGEMENTHOST
538           CTLPLANEIP CTLPLANEHOST.DOMAIN CTLPLANEHOST
539         params:
540           PRIMARYIP: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, BlockStorageHostnameResolveNetwork]}]}
541           DOMAIN: {get_param: CloudDomain}
542           PRIMARYHOST: {get_attr: [BlockStorage, name]}
543           EXTERNALIP: {get_attr: [ExternalPort, ip_address]}
544           EXTERNALHOST: {get_attr: [NetHostMap, value, external, short]}
545           INTERNAL_APIIP: {get_attr: [InternalApiPort, ip_address]}
546           INTERNAL_APIHOST: {get_attr: [NetHostMap, value, internal_api, short]}
547           STORAGEIP: {get_attr: [StoragePort, ip_address]}
548           STORAGEHOST: {get_attr: [NetHostMap, value, storage, short]}
549           STORAGE_MGMTIP: {get_attr: [StorageMgmtPort, ip_address]}
550           STORAGE_MGMTHOST: {get_attr: [NetHostMap, value, storage_mgmt, short]}
551           TENANTIP: {get_attr: [TenantPort, ip_address]}
552           TENANTHOST: {get_attr: [NetHostMap, value, tenant, short]}
553           MANAGEMENTIP: {get_attr: [ManagementPort, ip_address]}
554           MANAGEMENTHOST: {get_attr: [NetHostMap, value, management, short]}
555           CTLPLANEIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
556           CTLPLANEHOST: {get_attr: [NetHostMap, value, ctlplane, short]}
557   known_hosts_entry:
558     description: Entry for ssh known hosts
559     value:
560       str_replace:
561         template: "PRIMARYIP,PRIMARYHOST.DOMAIN,PRIMARYHOST,\
562 EXTERNALIP,EXTERNALHOST.DOMAIN,EXTERNALHOST,\
563 INTERNAL_APIIP,INTERNAL_APIHOST.DOMAIN,INTERNAL_APIHOST,\
564 STORAGEIP,STORAGEHOST.DOMAIN,STORAGEHOST,\
565 STORAGE_MGMTIP,STORAGE_MGMTHOST.DOMAIN,STORAGE_MGMTHOST,\
566 TENANTIP,TENANTHOST.DOMAIN,TENANTHOST,\
567 MANAGEMENTIP,MANAGEMENTHOST.DOMAIN,MANAGEMENTHOST,\
568 CTLPLANEIP,CTLPLANEHOST.DOMAIN,CTLPLANEHOST HOSTSSHPUBKEY"
569         params:
570           PRIMARYIP: {get_attr: [NetIpMap, net_ip_map, {get_param: [ServiceNetMap, BlockStorageHostnameResolveNetwork]}]}
571           DOMAIN: {get_param: CloudDomain}
572           PRIMARYHOST: {get_attr: [BlockStorage, name]}
573           EXTERNALIP: {get_attr: [ExternalPort, ip_address]}
574           EXTERNALHOST: {get_attr: [NetHostMap, value, external, short]}
575           INTERNAL_APIIP: {get_attr: [InternalApiPort, ip_address]}
576           INTERNAL_APIHOST: {get_attr: [NetHostMap, value, internal_api, short]}
577           STORAGEIP: {get_attr: [StoragePort, ip_address]}
578           STORAGEHOST: {get_attr: [NetHostMap, value, storage, short]}
579           STORAGE_MGMTIP: {get_attr: [StorageMgmtPort, ip_address]}
580           STORAGE_MGMTHOST: {get_attr: [NetHostMap, value, storage_mgmt, short]}
581           TENANTIP: {get_attr: [TenantPort, ip_address]}
582           TENANTHOST: {get_attr: [NetHostMap, value, tenant, short]}
583           MANAGEMENTIP: {get_attr: [ManagementPort, ip_address]}
584           MANAGEMENTHOST: {get_attr: [NetHostMap, value, management, short]}
585           CTLPLANEIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
586           CTLPLANEHOST: {get_attr: [NetHostMap, value, ctlplane, short]}
587           HOSTSSHPUBKEY: {get_attr: [SshHostPubKey, ecdsa]}
588   nova_server_resource:
589     description: Heat resource handle for the block storage server
590     value:
591       {get_resource: BlockStorage}
592     condition: server_not_blacklisted
593   external_ip_address:
594     description: IP address of the server in the external network
595     value: {get_attr: [ExternalPort, ip_address]}
596   internal_api_ip_address:
597     description: IP address of the server in the internal_api network
598     value: {get_attr: [InternalApiPort, ip_address]}
599   storage_ip_address:
600     description: IP address of the server in the storage network
601     value: {get_attr: [StoragePort, ip_address]}
602   storage_mgmt_ip_address:
603     description: IP address of the server in the storage_mgmt network
604     value: {get_attr: [StorageMgmtPort, ip_address]}
605   tenant_ip_address:
606     description: IP address of the server in the tenant network
607     value: {get_attr: [TenantPort, ip_address]}
608   management_ip_address:
609     description: IP address of the server in the management network
610     value: {get_attr: [ManagementPort, ip_address]}