blob: 77c036dbb9a031cee282bb47ea1b1bc74c7463ee [file] [log] [blame]
Adam Tengler8b77bf62018-10-24 22:18:56 +00001classes:
2- service.haproxy.proxy.single
3- service.opencontrail.control.cluster
4- system.haproxy.proxy.listen.opencontrail.control4_0
5- system.haproxy.proxy.listen.opencontrail.analytics
6parameters:
7 _param:
8 opencontrail_kafka_log_cleanup_mtime: '+7'
Anton Samoylov73f12db2018-12-12 18:34:24 +04009 opencontrail_kafka_log_dir: '/usr/share/kafka/logs'
Adam Tengler8b77bf62018-10-24 22:18:56 +000010 opencontrail_version: 4.0
11 linux_repo_contrail_component: oc40
Adam Tengler8b77bf62018-10-24 22:18:56 +000012 opencontrail_message_queue_node01_address: ${_param:openstack_control_node01_address}
13 opencontrail_message_queue_node02_address: ${_param:openstack_control_node02_address}
14 opencontrail_message_queue_node03_address: ${_param:openstack_control_node03_address}
15 opencontrail_message_queue_address: ${_param:openstack_control_address}
Anton Samoylovf05f9a82019-03-28 16:38:41 +040016 opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_docker_image_tag}
17 opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_docker_image_tag}
18 opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_docker_image_tag}
Adam Tengler8b77bf62018-10-24 22:18:56 +000019 opencontrail_controller_container_name: opencontrail_controller_1
20 opencontrail_analytics_container_name: opencontrail_analytics_1
21 opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1
Sergey Kreys893f09b2019-02-14 12:38:18 +000022 opencontrail_api_workers_count: 6
Adam Tengler8b77bf62018-10-24 22:18:56 +000023 analytics_vip_address: ${_param:opencontrail_analytics_address}
24# Temprorary fix for MOS9 packages to pin old version of kafka
25 linux:
26 system:
27 kernel:
28 modules:
29 - nf_conntrack_ipv4
30 job:
31 kafka_logs_cleanup:
Anton Samoylov73f12db2018-12-12 18:34:24 +040032 command: "find ${_param:opencontrail_kafka_log_dir} -name '*.log.*' -type f -mtime ${_param:opencontrail_kafka_log_cleanup_mtime} -exec rm {} \\;"
Adam Tengler8b77bf62018-10-24 22:18:56 +000033 identifier: kafka_logs_cleanup
34 hour: 0
35 minute: 0
36 opencontrail:
37 common:
38 config_only: true
39 identity:
40 host: ${_param:openstack_control_address}
41 network:
42 host: ${_param:openstack_control_address}
43 collector:
Anton Samoylov55edbe12019-01-24 14:19:06 +040044 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +000045 config_only: true
46 discovery:
47 host: None
48 analytics:
49 members:
50 - host: ${_param:cluster_node01_address}
51 - host: ${_param:cluster_node02_address}
52 - host: ${_param:cluster_node03_address}
53 message_queue:
54 host: ${_param:opencontrail_message_queue_address}
Svimbaa1b24512018-12-13 10:55:29 +010055 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000056 members:
57 - host: ${_param:opencontrail_message_queue_node01_address}
58 - host: ${_param:opencontrail_message_queue_node02_address}
59 - host: ${_param:opencontrail_message_queue_node03_address}
60 config:
61 members:
62 - host: ${_param:cluster_node01_address}
63 - host: ${_param:cluster_node02_address}
64 - host: ${_param:cluster_node03_address}
65 database:
66 config_only: true
67 discovery:
68 host: None
69 analytics:
70 members:
71 - host: ${_param:cluster_node01_address}
72 - host: ${_param:cluster_node02_address}
73 - host: ${_param:cluster_node03_address}
74 config:
75 config_only: true
76 network:
77 host: ${_param:openstack_control_address}
78 bind:
79 address: ${_param:cluster_local_address}
80 discovery:
81 host: None
82 api:
83 host: ${_param:opencontrail_control_address}
84 workers_count: ${_param:opencontrail_api_workers_count}
85 analytics:
86 members:
87 - host: ${_param:cluster_node01_address}
88 - host: ${_param:cluster_node02_address}
89 - host: ${_param:cluster_node03_address}
90 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +010091 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000092 members:
93 - host: ${_param:opencontrail_message_queue_node01_address}
94 - host: ${_param:opencontrail_message_queue_node02_address}
95 - host: ${_param:opencontrail_message_queue_node03_address}
96 identity:
97 region: ${_param:openstack_region}
98 host: ${_param:openstack_control_address}
99 control:
Anton Samoylov55edbe12019-01-24 14:19:06 +0400100 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000101 config_only: true
102 identity:
103 host: ${_param:openstack_control_address}
104 analytics:
105 members:
106 - host: ${_param:cluster_node01_address}
107 - host: ${_param:cluster_node02_address}
108 - host: ${_param:cluster_node03_address}
109 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +0100110 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000111 members:
112 - host: ${_param:opencontrail_message_queue_node01_address}
113 - host: ${_param:opencontrail_message_queue_node02_address}
114 - host: ${_param:opencontrail_message_queue_node03_address}
115 database:
116 members:
117 - host: ${_param:cluster_node01_address}
118 - host: ${_param:cluster_node02_address}
119 - host: ${_param:cluster_node03_address}
120 discovery:
121 host: None
122 web:
123 config_only: true
124 analytics:
125 host: ${_param:opencontrail_control_address}
126 cache:
127 host: 127.0.0.1
128 identity:
129 host: ${_param:openstack_control_address}
130 database:
131 port: 9041
132 network:
133 host: ${_param:openstack_control_address}