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