blob: 6e24ac3fc1e0759d65507cceda01db2e00b41ae7 [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
12 opencontrail_image_tag: latest
13 opencontrail_message_queue_node01_address: ${_param:openstack_control_node01_address}
14 opencontrail_message_queue_node02_address: ${_param:openstack_control_node02_address}
15 opencontrail_message_queue_node03_address: ${_param:openstack_control_node03_address}
16 opencontrail_message_queue_address: ${_param:openstack_control_address}
Svimbaa1b24512018-12-13 10:55:29 +010017 opencontrail_message_queue_password: guest
Adam Tengler8b77bf62018-10-24 22:18:56 +000018 opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_image_tag}
19 opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_image_tag}
20 opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag}
21 opencontrail_controller_container_name: opencontrail_controller_1
22 opencontrail_analytics_container_name: opencontrail_analytics_1
23 opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1
Anton Samoylov31d4bec2019-01-30 12:14:48 +040024 opencontrail_api_workers_count: 1
Adam Tengler8b77bf62018-10-24 22:18:56 +000025 analytics_vip_address: ${_param:opencontrail_analytics_address}
26# Temprorary fix for MOS9 packages to pin old version of kafka
27 linux:
28 system:
29 kernel:
30 modules:
31 - nf_conntrack_ipv4
32 job:
33 kafka_logs_cleanup:
Anton Samoylov73f12db2018-12-12 18:34:24 +040034 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 +000035 identifier: kafka_logs_cleanup
36 hour: 0
37 minute: 0
38 opencontrail:
39 common:
40 config_only: true
41 identity:
42 host: ${_param:openstack_control_address}
43 network:
44 host: ${_param:openstack_control_address}
45 collector:
Anton Samoylovf0c0c292019-01-24 14:19:06 +040046 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +000047 config_only: true
48 discovery:
49 host: None
50 analytics:
51 members:
52 - host: ${_param:cluster_node01_address}
53 - host: ${_param:cluster_node02_address}
54 - host: ${_param:cluster_node03_address}
55 message_queue:
56 host: ${_param:opencontrail_message_queue_address}
Svimbaa1b24512018-12-13 10:55:29 +010057 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000058 members:
59 - host: ${_param:opencontrail_message_queue_node01_address}
60 - host: ${_param:opencontrail_message_queue_node02_address}
61 - host: ${_param:opencontrail_message_queue_node03_address}
62 config:
63 members:
64 - host: ${_param:cluster_node01_address}
65 - host: ${_param:cluster_node02_address}
66 - host: ${_param:cluster_node03_address}
67 database:
68 config_only: true
69 discovery:
70 host: None
71 analytics:
72 members:
73 - host: ${_param:cluster_node01_address}
74 - host: ${_param:cluster_node02_address}
75 - host: ${_param:cluster_node03_address}
76 config:
77 config_only: true
78 network:
79 host: ${_param:openstack_control_address}
80 bind:
81 address: ${_param:cluster_local_address}
82 discovery:
83 host: None
84 api:
85 host: ${_param:opencontrail_control_address}
86 workers_count: ${_param:opencontrail_api_workers_count}
87 analytics:
88 members:
89 - host: ${_param:cluster_node01_address}
90 - host: ${_param:cluster_node02_address}
91 - host: ${_param:cluster_node03_address}
92 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +010093 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000094 members:
95 - host: ${_param:opencontrail_message_queue_node01_address}
96 - host: ${_param:opencontrail_message_queue_node02_address}
97 - host: ${_param:opencontrail_message_queue_node03_address}
98 identity:
99 region: ${_param:openstack_region}
100 host: ${_param:openstack_control_address}
101 control:
Anton Samoylovf0c0c292019-01-24 14:19:06 +0400102 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000103 config_only: true
104 identity:
105 host: ${_param:openstack_control_address}
106 analytics:
107 members:
108 - host: ${_param:cluster_node01_address}
109 - host: ${_param:cluster_node02_address}
110 - host: ${_param:cluster_node03_address}
111 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +0100112 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000113 members:
114 - host: ${_param:opencontrail_message_queue_node01_address}
115 - host: ${_param:opencontrail_message_queue_node02_address}
116 - host: ${_param:opencontrail_message_queue_node03_address}
117 database:
118 members:
119 - host: ${_param:cluster_node01_address}
120 - host: ${_param:cluster_node02_address}
121 - host: ${_param:cluster_node03_address}
122 discovery:
123 host: None
124 web:
125 config_only: true
126 analytics:
127 host: ${_param:opencontrail_control_address}
128 cache:
129 host: 127.0.0.1
130 identity:
131 host: ${_param:openstack_control_address}
132 database:
133 port: 9041
134 network:
135 host: ${_param:openstack_control_address}