Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / ceph-client.yaml
1 heat_template_version: pike
2
3 description: >
4   Ceph Client service.
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   MonitoringSubscriptionCephClient:
34     default: 'overcloud-ceph-client'
35     type: string
36
37 resources:
38   CephBase:
39     type: ./ceph-base.yaml
40     properties:
41       ServiceData: {get_param: ServiceData}
42       ServiceNetMap: {get_param: ServiceNetMap}
43       DefaultPasswords: {get_param: DefaultPasswords}
44       EndpointMap: {get_param: EndpointMap}
45       RoleName: {get_param: RoleName}
46       RoleParameters: {get_param: RoleParameters}
47
48 outputs:
49   role_data:
50     description: Role data for the Cinder OSD service.
51     value:
52       service_name: ceph_client
53       monitoring_subscription: {get_param: MonitoringSubscriptionCephClient}
54       config_settings:
55         get_attr: [CephBase, role_data, config_settings]
56       step_config: |
57         include ::tripleo::profile::base::ceph::client