blob: 2ba745b3c8a154d420918f5c7dd0a414381dbb02 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.opencontrail.control.single
3- service.haproxy.proxy.single
4parameters:
Petr Jediný12624882017-12-04 17:06:12 +01005 _param:
6 opencontrail_kafka_log_cleanup_mtime: '+7'
7 opencontrail_kafka_log_cleanup_dir: '/usr/share/kafka/logs/'
Ondrej Smola03ff34e2016-12-01 01:30:33 +01008# Temprorary fix for MOS9 packages to pin old version of kafka
9 linux:
10 system:
11 package:
12 librdkafka1:
13 version: 0.9.0-0contrail0
14 python-kafka:
15 version: 1.0.1-0contrail1
16 contrail-api-cli:
17 version: latest
Marek Celoud39176362017-05-19 15:04:16 +020018 kernel:
19 modules:
20 - nf_conntrack_ipv4
Petr Jediný12624882017-12-04 17:06:12 +010021 job:
22 kafka_logs_cleanup:
23 command: "find ${_param:opencontrail_kafka_log_cleanup_dir} -name '*.log.*' -type f -mtime ${_param:opencontrail_kafka_log_cleanup_mtime} -exec rm {} \\;"
24 identifier: kafka_logs_cleanup
25 hour: 0
26 minute: 0
Ondrej Smola03ff34e2016-12-01 01:30:33 +010027 haproxy:
28 proxy:
29 listen:
30 contrail_api:
31 type: contrail-api
32 service_name: contrail
33 check: false
34 binds:
35 - address: ${_param:single_address}
36 port: 8082
37 servers:
38 - name: ctl01
39 host: ${_param:single_address}
40 port: 9100
41 params: check inter 2000 rise 2 fall 3
42 contrail_discovery:
43 type: contrail-api
44 service_name: contrail
45 binds:
46 - address: ${_param:single_address}
47 port: 5998
48 servers:
49 - name: ctl01
50 host: ${_param:single_address}
51 port: 9110
52 params: check inter 2000 rise 2 fall 3
53 contrail_config_stats:
54 type: contrail-config
55 service_name: contrail
56 format: listen
57 binds:
58 - address: '*'
59 port: 5937
60 user: haproxy
61 password: ${_param:opencontrail_stats_password}
62 contrail_openstack_stats:
63 type: contrail-config
64 service_name: contrail
65 format: listen
66 binds:
67 - address: '*'
68 port: 5936
69 user: haproxy
70 password: ${_param:opencontrail_stats_password}
71 contrail_collector_stats:
72 type: contrail-config
73 service_name: contrail
74 format: listen
75 binds:
76 - address: '*'
77 port: 5938
78 user: haproxy
79 password: ${_param:opencontrail_stats_password}
Jakub Pavlikd60e2172017-03-08 13:41:00 +010080 opencontrail:
81 web:
82 database:
83 port: 9042