blob: a426e02aa9bb63b9a86f57d098bce6b9ed76e290 [file] [log] [blame]
Marek Celouda2f29f02017-06-16 14:47:31 +02001classes:
2- service.haproxy.proxy.single
3- service.keepalived.cluster.single
4- service.opencontrail.control.analytics
5- system.haproxy.proxy.listen.opencontrail.analytics
6parameters:
7 _param:
8 opencontrail_version: 4.0
9 linux_repo_contrail_component: oc40
Marek Celoudcba1a442017-06-20 17:14:34 +020010 opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address}
11 opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address}
12 opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address}
13 opencontrail_message_queue_address: ${_param:openstack_message_queue_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +010014 opencontrail_analytics_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analytics
15 opencontrail_analyticsdb_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analyticsdb
Marek Celouda2f29f02017-06-16 14:47:31 +020016# Temprorary fix for MOS9 packages to pin old version of kafka
17 linux:
18 system:
Marek Celouda2f29f02017-06-16 14:47:31 +020019 kernel:
20 modules:
21 - nf_conntrack_ipv4
22 opencontrail:
23 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010024 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020025 identity:
26 host: ${_param:openstack_control_address}
27 network:
28 host: ${_param:openstack_control_address}
29 collector:
Marek Celoudfa1fa512017-11-03 16:07:04 +010030 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020031 discovery:
32 host: None
Marek Celoud6d2f28c2017-12-01 15:09:47 +010033 identity:
34 host: ${_param:openstack_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020035 analytics:
36 members:
37 - host: ${_param:opencontrail_analytics_node01_address}
38 - host: ${_param:opencontrail_analytics_node02_address}
39 - host: ${_param:opencontrail_analytics_node03_address}
40 message_queue:
Marek Celoudcba1a442017-06-20 17:14:34 +020041 host: ${_param:opencontrail_message_queue_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020042 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020043 - host: ${_param:opencontrail_message_queue_node01_address}
44 - host: ${_param:opencontrail_message_queue_node02_address}
45 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020046 config:
47 members:
48 - host: ${_param:opencontrail_control_node01_address}
49 - host: ${_param:opencontrail_control_node02_address}
50 - host: ${_param:opencontrail_control_node03_address}
51 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010052 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020053 discovery:
54 host: None
55 analytics:
56 members:
57 - host: ${_param:opencontrail_analytics_node01_address}
58 - host: ${_param:opencontrail_analytics_node02_address}
59 - host: ${_param:opencontrail_analytics_node03_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +010060 docker:
61 client:
62 compose:
63 opencontrail_api:
64 status: up
65 pull: true
66 service:
67 analytics:
68 image: ${_param:opencontrail_analytics_image}
69 network_mode: "host"
70 privileged: true
71 volumes:
72 - /etc/contrail:/etc/contrail
73 - /etc/redis/redis.conf:/etc/redis/redis.conf
74 analyticsdb:
75 image: ${_param:opencontrail_analyticsdb_image}
76 volumes:
77 - /etc/cassandra/cassandra-env-analytics.sh:/etc/cassandra/cassandra-env.sh
78 - /etc/cassandra/cassandra_analytics.yaml:/etc/cassandra/cassandra.yaml
79 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
80 - /etc/contrail:/etc/contrail
81 - /var/lib/analyticsdb:/var/lib/cassandra
82 - /var/lib/analyticsdb_zookeeper_data:/var/lib/zookeeper
83 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
84 - /usr/share/kafka/config/server.properties:/usr/share/kafka/config/server.properties
85 - /usr/share/kafka/config/consumer.properties:/usr/share/kafka/config/consumer.properties
86 - /usr/share/kafka/config/zookeeper.properties:/usr/share/kafka/config/zookeeper.properties
87 - /etc/zookeeper/conf/zoo_analytics.cfg:/etc/zookeeper/conf/zoo.cfg
88 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
89 network_mode: "host"
90 privileged: true