-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbrowbeat-config-template.yaml.j2
84 lines (83 loc) · 2.13 KB
/
browbeat-config-template.yaml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#jinja2: trim_blocks:True, lstrip_blocks:True
# Basic set of initial stress tests to test overcloud before running complete set of benchmarks.
browbeat:
cloud_name: openstack
rerun: 1
# Two types of rerun:
# iteration reruns on the iteration
# complete reruns after all workloads complete
# rerun_type: complete
rerun_type: iteration
ansible:
hosts: ansible/hosts
metadata_playbook: ansible/gather/stockpile.yml
logging_playbook: ansible/common_logging/browbeat_logging.yml
ssh_config: ansible/ssh-config
elasticsearch:
enabled: true
host: {{ ES_host }}
port: 9200
regather: false
metadata_files:
- name: hardware-metadata
file: metadata/hardware-metadata.json
- name: environment-metadata
file: metadata/environment-metadata.json
- name: software-metadata
file: metadata/software-metadata.json
- name: version
file: metadata/version.json
grafana:
enabled: false
host: example.grafana.com
port: 3000
dashboards:
- openstack-general-system-performance
filebeat:
enabled: false
rally:
sleep_before: 5
sleep_after: 5
plugins:
- glance: rally/rally-plugins/glance
- neutron: rally/rally-plugins/neutron
- netcreate-boot: rally/rally-plugins/netcreate-boot
- cinder: rally/rally-plugins/cinder
- workloads: rally/rally-plugins/workloads
shaker:
server: 1.1.1.1
port: 5555
flavor: m1.small
join_timeout: 600
sleep_before: 0
sleep_after: 0
shaker_region: regionOne
external_host: 2.2.2.2
workloads:
- name: {{dfg_rally_name}}
enabled: {{enabled}}
type: {{type}}
rally_deployment: {{rally_deployment}}
times: {{times }}
concurrency:
{% for c in concurrency %}
- {{ c }}
{% endfor %}
scenarios:
{% for s in scenarios %}
- name: {{s.name}}
enabled: {{s.enabled}}
file: {{s.file}}
{% if s.params is defined %}
{% for k, v in s.params.items() %}
{% if k == "concurrency" %}
{{k}}:
{% for i in v %}
- {{ i }}
{% endfor %}
{% else %}
{{k}}: {{v}}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}