blob: f5f34c18633ab5f6ade37d9490b3700202172a68 [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}
Svimbaa1b24512018-12-13 10:55:29 +010016 opencontrail_message_queue_password: guest
Anton Samoylovf05f9a82019-03-28 16:38:41 +040017 opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_docker_image_tag}
18 opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_docker_image_tag}
19 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 +000020 opencontrail_controller_container_name: opencontrail_controller_1
21 opencontrail_analytics_container_name: opencontrail_analytics_1
22 opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1
Sergey Kreys893f09b2019-02-14 12:38:18 +000023 opencontrail_api_workers_count: 6
Adam Tengler8b77bf62018-10-24 22:18:56 +000024 analytics_vip_address: ${_param:opencontrail_analytics_address}
25# Temprorary fix for MOS9 packages to pin old version of kafka
26 linux:
27 system:
28 kernel:
29 modules:
30 - nf_conntrack_ipv4
31 job:
32 kafka_logs_cleanup:
Anton Samoylov73f12db2018-12-12 18:34:24 +040033 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 +000034 identifier: kafka_logs_cleanup
35 hour: 0
36 minute: 0
37 opencontrail:
38 common:
39 config_only: true
40 identity:
41 host: ${_param:openstack_control_address}
42 network:
43 host: ${_param:openstack_control_address}
44 collector:
Anton Samoylov55edbe12019-01-24 14:19:06 +040045 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +000046 config_only: true
47 discovery:
48 host: None
49 analytics:
50 members:
51 - host: ${_param:cluster_node01_address}
52 - host: ${_param:cluster_node02_address}
53 - host: ${_param:cluster_node03_address}
54 message_queue:
55 host: ${_param:opencontrail_message_queue_address}
Svimbaa1b24512018-12-13 10:55:29 +010056 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000057 members:
58 - host: ${_param:opencontrail_message_queue_node01_address}
59 - host: ${_param:opencontrail_message_queue_node02_address}
60 - host: ${_param:opencontrail_message_queue_node03_address}
61 config:
62 members:
63 - host: ${_param:cluster_node01_address}
64 - host: ${_param:cluster_node02_address}
65 - host: ${_param:cluster_node03_address}
66 database:
67 config_only: true
68 discovery:
69 host: None
70 analytics:
71 members:
72 - host: ${_param:cluster_node01_address}
73 - host: ${_param:cluster_node02_address}
74 - host: ${_param:cluster_node03_address}
75 config:
76 config_only: true
77 network:
78 host: ${_param:openstack_control_address}
79 bind:
80 address: ${_param:cluster_local_address}
81 discovery:
82 host: None
83 api:
84 host: ${_param:opencontrail_control_address}
85 workers_count: ${_param:opencontrail_api_workers_count}
86 analytics:
87 members:
88 - host: ${_param:cluster_node01_address}
89 - host: ${_param:cluster_node02_address}
90 - host: ${_param:cluster_node03_address}
91 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +010092 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +000093 members:
94 - host: ${_param:opencontrail_message_queue_node01_address}
95 - host: ${_param:opencontrail_message_queue_node02_address}
96 - host: ${_param:opencontrail_message_queue_node03_address}
97 identity:
98 region: ${_param:openstack_region}
99 host: ${_param:openstack_control_address}
100 control:
Anton Samoylov55edbe12019-01-24 14:19:06 +0400101 role: ${_param:opencontrail_node_role}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000102 config_only: true
103 identity:
104 host: ${_param:openstack_control_address}
105 analytics:
106 members:
107 - host: ${_param:cluster_node01_address}
108 - host: ${_param:cluster_node02_address}
109 - host: ${_param:cluster_node03_address}
110 message_queue:
Svimbaa1b24512018-12-13 10:55:29 +0100111 password: ${_param:opencontrail_message_queue_password}
Adam Tengler8b77bf62018-10-24 22:18:56 +0000112 members:
113 - host: ${_param:opencontrail_message_queue_node01_address}
114 - host: ${_param:opencontrail_message_queue_node02_address}
115 - host: ${_param:opencontrail_message_queue_node03_address}
116 database:
117 members:
118 - host: ${_param:cluster_node01_address}
119 - host: ${_param:cluster_node02_address}
120 - host: ${_param:cluster_node03_address}
121 discovery:
122 host: None
123 web:
124 config_only: true
125 analytics:
126 host: ${_param:opencontrail_control_address}
127 cache:
128 host: 127.0.0.1
129 identity:
130 host: ${_param:openstack_control_address}
131 database:
132 port: 9041
133 network:
134 host: ${_param:openstack_control_address}