Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / barometer.yaml
1 # Copyright 2017-2018 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 heat_template_version: 2014-10-16
16
17 description: >
18   Install Barometer (Fastpath Quality Metrics = collectd with RDT) on compute nodes
19
20 # Note extra parameters can be defined, then passed data via the
21 # environment parameter_defaults, without modifying the parent template
22 parameters:
23   ServiceData:
24     default: {}
25     description: Dictionary packing service data
26     type: json
27   ServiceNetMap:
28     default: {}
29     description: Mapping of service_name -> network name. Typically set
30                  via parameter_defaults in the resource registry.  This
31                  mapping overrides those in ServiceNetMapDefaults.
32     type: json
33   DefaultPasswords:
34     default: {}
35     type: json
36   RoleName:
37     default: ''
38     description: Role name on which the service is applied
39     type: string
40   RoleParameters:
41     default: {}
42     description: Parameters specific to the role
43     type: json
44   EndpointMap:
45     default: {}
46     description: Mapping of service endpoint -> protocol. Typically set
47                  via parameter_defaults in the resource registry.
48     type: json
49   GnocchiPassword:
50     description: The password for the gnocchi service and db account.
51     type: string
52     hidden: true
53
54 outputs:
55   role_data:
56     description: Role data for Barometer role.
57     value:
58       service_name: barometer
59       config_settings:
60         barometer::collectd::collectd_password: {get_param: GnocchiPassword}
61         barometer::collectd::collectd_username: 'gnocchi'
62         barometer::collectd::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
63       step_config: |
64         include ::tripleo::profile::base::barometer
65