heat_template_version: pike

description: >
  Openstack Manila vnx backend.

parameters:
  ManilaVNXDriverHandlesShareServers:
    type: string
    default: false
  ManilaVNXBackendName:
    type: string
    default: tripleo_manila_vnx
  ManilaVNXNasLogin:
    type: string
    default: ''
  ManilaVNXNasPassword:
    type: string
    default: ''
  ManilaVNXNasServer:
    type: string
    default: ''
  ManilaVNXServerContainer:
    type: string
    default: ''
  ManilaVNXShareDataPools:
    type: string
    default: ''
  ManilaVNXEthernetPorts:
    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.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    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.

outputs:
  role_data:
    description: Role data for the Manila VNX backend.
    value:
      service_name: manila_backend_vnx
      config_settings:
        manila::backend::dellemc_vnx::title: {get_param: ManilaVNXBackendName}
        manila::backend::dellemc_vnx::emc_nas_login: {get_param: ManilaVNXNasLogin}
        manila::backend::dellemc_vnx::driver_handles_share_servers: {get_param: ManilaVNXDriverHandlesShareServers}
        manila::backend::dellemc_vnx::emc_nas_password: {get_param: ManilaVNXNasPassword}
        manila::backend::dellemc_vnx::emc_nas_server: {get_param: ManilaVNXNasServer}
        manila::backend::dellemc_vnx::emc_share_backend: {'vnx'}
        manila::backend::dellemc_vnx::vnx_server_container: {get_param: ManilaVNXServerContainer}
        manila::backend::dellemc_vnx::vnx_share_data_pools: {get_param: ManilaVNXShareDataPools}
        manila::backend::dellemc_vnx::vnx_ethernet_ports: {get_param: ManilaVNXEthernetPorts}
      step_config:


