Merge "Add support for enabling L2 population in Neutron"
[apex-tripleo-heat-templates.git] / os-apply-config / ceph-cluster-config.yaml
1 heat_template_version: 2015-04-30
2 description: 'Ceph Cluster config data'
3
4 parameters:
5   ceph_storage_count:
6     default: 0
7     type: number
8     description: Number of Ceph storage nodes. Used to enable/disable managed Ceph installation.
9   ceph_external_mon_ips:
10     default: ''
11     type: string
12     description: List of external Ceph Mon host IPs.
13   ceph_client_key:
14     default: ''
15     type: string
16     description: Ceph key used to create the client user keyring.
17   ceph_fsid:
18     default: ''
19     type: string
20   ceph_admin_key:
21     default: ''
22     type: string
23   ceph_mon_key:
24     default: ''
25     type: string
26   ceph_mon_names:
27     type: comma_delimited_list
28   ceph_mon_ips:
29     type: comma_delimited_list
30   NovaRbdPoolName:
31     default: vms
32     type: string
33   CinderRbdPoolName:
34     default: volumes
35     type: string
36   GlanceRbdPoolName:
37     default: images
38     type: string
39   CephClientUserName:
40     default: openstack
41     type: string
42
43 resources:
44   CephClusterConfigImpl:
45     type: OS::Heat::StructuredConfig
46     properties:
47       group: os-apply-config
48       config:
49         ceph_cluster:
50           mon_initial_members:
51             list_join:
52             - ','
53             - {get_param: ceph_mon_names}
54           mon_host:
55             list_join:
56             - ','
57             - {get_param: ceph_mon_ips}
58           fsid: {get_param: ceph_fsid}
59           admin_key: {get_param: ceph_admin_key}
60           mon_key: {get_param: ceph_mon_key}
61           # We would need a dedicated key for OSD bootstrap
62           bootstrap_osd_key: {get_param: ceph_mon_key}
63           osds: '{"/srv/data": {}}'
64
65 outputs:
66   config_id:
67     description: The ID of the CephClusterConfigImpl resource.
68     value:
69       {get_resource: CephClusterConfigImpl}