heat_template_version: pike

description: >
  Openstack Manila isilon backend.

parameters:
  ManilaIsilonDriverHandlesShareServers:
    type: string
    default: true
  ManilaIsilonBackendName:
    type: string
    default: tripleo_isilon
  ManilaIsilonNasLogin:
    type: string
    default: ''
  ManilaIsilonNasPassword:
    type: string
    default: ''
  ManilaIsilonNasServer:
    type: string
    default: ''
  ManilaIsilonNasRootDir:
    type: string
    default: ''
  ManilaIsilonNasServerPort:
    type: number
    default: 8080
  ManilaIsilonNasServerSecure:
    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 Isilon backend.
    value:
      service_name: manila_backend_isilon
      config_settings:
        manila::backend::dellemc_isilon::title: {get_param: ManilaIsilonBackendName}
        manila::backend::dellemc_isilon::emc_nas_login: {get_param: ManilaIsilonNasLogin}
        manila::backend::dellemc_isilon::driver_handles_share_servers: {get_param: ManilaIsilonDriverHandlesShareServers}
        manila::backend::dellemc_isilon::emc_nas_password: {get_param: ManilaIsilonNasPassword}
        manila::backend::dellemc_isilon::emc_nas_server: {get_param: ManilaIsilonNasServer}
        manila::backend::dellemc_isilon::emc_nas_root_dir: {get_param: ManilaIsilonNasRootDir}
        manila::backend::dellemc_isilon::emc_nas_server_port: {get_param: ManilaIsilonNasServerPort}
        manila::backend::dellemc_isilon::emc_nas_server_secure: {get_param: ManilaIsilonNasServerSecure}
      step_config:
