# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Deploy Using an External Ceph Cluster
# description: |
#   A Heat environment file which can be used to enable the
#   use of an externally managed Ceph cluster.
parameter_defaults:
  # The Ceph admin client key. Can be created with ceph-authtool --gen-print-key.
  # Type: string
  CephAdminKey: ''

  # The Ceph client key. Can be created with ceph-authtool --gen-print-key.
  # Mandatory. This parameter must be set by the user.
  # Type: string
  CephClientKey: <None>

  # 
  # Type: string
  CephClientUserName: openstack

  # The Ceph cluster FSID. Must be a UUID.
  # Mandatory. This parameter must be set by the user.
  # Type: string
  CephClusterFSID: <None>

  # List of externally managed Ceph Mon Host IPs. Only used for external Ceph deployments.
  # Type: string
  CephExternalMonHost: ''

  # Whether to enable or not the Iscsi backend for Cinder
  # Type: boolean
  CinderEnableIscsiBackend: False

  # Whether to enable or not the Rbd backend for Cinder
  # Type: boolean
  CinderEnableRbdBackend: True

  # 
  # Type: string
  CinderRbdPoolName: volumes

  # The short name of the Glance backend to use. Should be one of swift, rbd, or file
  # Type: string
  GlanceBackend: rbd

  # 
  # Type: string
  GlanceRbdPoolName: images

  # The short name of the Gnocchi backend to use. Should be one of swift, rbd, or file
  # Type: string
  GnocchiBackend: rbd

  # 
  # Type: string
  GnocchiRbdPoolName: metrics

  # Whether to enable or not the Rbd backend for Nova
  # Type: boolean
  NovaEnableRbdBackend: True

  # 
  # Type: string
  NovaRbdPoolName: vms

  # The default features enabled when creating a block device image. Only applies to format 2 images. Set to '1' for Jewel clients using older Ceph servers.
  # Type: string
  RbdDefaultFeatures: ''

resource_registry:
  OS::TripleO::Services::CephClient: OS::Heat::None
  OS::TripleO::Services::CephExternal: ../../puppet/services/ceph-external.yaml
  OS::TripleO::Services::CephMon: OS::Heat::None
  OS::TripleO::Services::CephOSD: OS::Heat::None