tripleo-heat-templates/deployment/manila/manila-backend-vmax.yaml

91 lines
3.0 KiB
YAML

heat_template_version: wallaby
description: >
Openstack Manila vmax backend.
parameters:
ManilaVMAXDriverHandlesShareServers:
type: string
default: false
ManilaVMAXBackendName:
type: string
default: tripleo_manila_vmax
ManilaVMAXAvailabilityZone:
default: ''
description: >
The availability zone of the VMAX backend.
When set, it overrides the default ManilaStorageAvailabilityZone.
type: string
ManilaVMAXNasLogin:
type: string
default: ''
ManilaVMAXNasPassword:
type: string
default: ''
hidden: true
ManilaVMAXNasServer:
type: string
default: ''
ManilaVMAXServerContainer:
type: string
default: ''
ManilaVMAXShareDataPools:
type: string
default: ''
ManilaVMAXEthernetPorts:
type: string
default: ''
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. Use
parameter_merge_strategies to merge it with the defaults.
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
EndpointMap:
default: {}
type: json
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
parameter_groups:
- label: deprecated
description: |
The following parameters are deprecated and will be removed. They should not
be relied on for new deployments. If you have concerns regarding deprecated
parameters, please contact the TripleO development team on IRC or the
OpenStack mailing list.
parameters:
- ManilaVMAXDriverHandlesShareServers
outputs:
role_data:
description: Role data for the Manila VMAX backend.
value:
service_name: manila_backend_vmax
config_settings:
map_merge:
- manila::backend::dellemc_vmax::title: {get_param: ManilaVMAXBackendName}
manila::backend::dellemc_vmax::emc_nas_login: {get_param: ManilaVMAXNasLogin}
manila::backend::dellemc_vmax::emc_nas_password: {get_param: ManilaVMAXNasPassword}
manila::backend::dellemc_vmax::emc_nas_server: {get_param: ManilaVMAXNasServer}
manila::backend::dellemc_vmax::emc_share_backend: vmax
manila::backend::dellemc_vmax::vmax_server_container: {get_param: ManilaVMAXServerContainer}
manila::backend::dellemc_vmax::vmax_share_data_pools: {get_param: ManilaVMAXShareDataPools}
manila::backend::dellemc_vmax::vmax_ethernet_ports: {get_param: ManilaVMAXEthernetPorts}
- if:
- { equals: [ { get_param: ManilaVMAXAvailabilityZone }, '' ] }
- { }
- manila::backend::dellemc_vmax::backend_availability_zone: { get_param: ManilaVMAXAvailabilityZone }