Merge "Disable ComputeNeutron* for cisco-nexus-ucsm"
[apex-tripleo-heat-templates.git] / puppet / services / manila-backend-cephfs.yaml
1 heat_template_version: ocata
2
3 description: >
4   Openstack Manila Cephfs backend
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   # CephFS Native backend params:
30   ManilaCephFSNativeBackendName:
31     type: string
32     default: cephfsnative
33   ManilaCephFSNativeDriverHandlesShareServers:
34     type: boolean
35     default: false
36   ManilaCephFSNativeShareBackendName:
37     type: string
38     default: 'cephfs'
39   ManilaCephFSNativeCephFSConfPath:
40     type: string
41     default: '/etc/ceph/ceph.conf'
42   ManilaCephFSNativeCephFSAuthId:
43     type: string
44     default: 'manila'
45   ManilaCephFSNativeCephFSClusterName:
46     type: string
47     default: 'ceph'
48   ManilaCephFSNativeCephFSEnableSnapshots:
49     type: boolean
50     default: false
51   ManilaCephFSDataPoolName:
52     default: manila_data
53     type: string
54   ManilaCephFSMetadataPoolName:
55     default: manila_metadata
56     type: string
57   # (jprovazn) default value is set to assure this templates works with an
58   # external ceph too (user/key is created only when ceph is deployed by
59   # TripleO)
60   CephManilaClientKey:
61     default: ''
62     description: The Ceph client key. Can be created with ceph-authtool --gen-print-key.
63     type: string
64     hidden: true
65
66 outputs:
67   role_data:
68     description: Role data for the Manila Cephfs backend.
69     value:
70       service_name: manila_backend_cephfs
71       config_settings:
72         manila::backend::cephfsnative::title: {get_param: ManilaCephFSNativeBackendName}
73         manila::backend::cephfsnative::driver_handles_share_servers: {get_param: ManilaCephFSNativeDriverHandlesShareServers}
74         manila::backend::cephfsnative::share_backend_name: {get_param: ManilaCephFSNativeShareBackendName}
75         manila::backend::cephfsnative::cephfs_conf_path: {get_param: ManilaCephFSNativeCephFSConfPath}
76         manila::backend::cephfsnative::cephfs_auth_id: {get_param: ManilaCephFSNativeCephFSAuthId}
77         manila::backend::cephfsnative::cephfs_cluster_name: {get_param: ManilaCephFSNativeCephFSClusterName}
78         manila::backend::cephfsnative::cephfs_enable_snapshots: {get_param: ManilaCephFSNativeCephFSEnableSnapshots}
79         manila::backend::cephfsnative::ceph_client_key: {get_param: CephManilaClientKey}
80         ceph::profile::params::fs_data_pool: {get_param: ManilaCephFSDataPoolName}
81         ceph::profile::params::fs_metadata_pool: {get_param: ManilaCephFSMetadataPoolName}
82         ceph::profile::params::fs_name: {get_param: ManilaCephFSNativeShareBackendName}
83       step_config: