blob: 1ee9ca5cb1d46e9155e2874822200ddae841d4f9 [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.cluster
5- system.haproxy.proxy.listen.opencontrail.control
6- system.haproxy.proxy.listen.opencontrail.analytics
7parameters:
8 _param:
9 opencontrail_version: 4.0
10 linux_repo_contrail_component: oc40
Marek Celoudcba1a442017-06-20 17:14:34 +020011 opencontrail_message_queue_node01_address: ${_param:openstack_control_node01_address}
12 opencontrail_message_queue_node02_address: ${_param:openstack_control_node02_address}
13 opencontrail_message_queue_node03_address: ${_param:openstack_control_node03_address}
14 opencontrail_message_queue_address: ${_param:openstack_control_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +010015 opencontrail_analytics_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analytics
16 opencontrail_analyticsdb_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-analyticsdb
17 opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-controller
18 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020019# Temprorary fix for MOS9 packages to pin old version of kafka
20 linux:
21 system:
Marek Celouda2f29f02017-06-16 14:47:31 +020022 kernel:
23 modules:
24 - nf_conntrack_ipv4
25 opencontrail:
26 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010027 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020028 identity:
29 host: ${_param:openstack_control_address}
30 network:
31 host: ${_param:openstack_control_address}
32 collector:
Marek Celoudfa1fa512017-11-03 16:07:04 +010033 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020034 discovery:
35 host: None
Marek Celouda2f29f02017-06-16 14:47:31 +020036 analytics:
37 members:
38 - host: ${_param:cluster_node01_address}
39 - host: ${_param:cluster_node02_address}
40 - host: ${_param:cluster_node03_address}
41 message_queue:
Marek Celoudcba1a442017-06-20 17:14:34 +020042 host: ${_param:opencontrail_message_queue_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020043 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020044 - host: ${_param:opencontrail_message_queue_node01_address}
45 - host: ${_param:opencontrail_message_queue_node02_address}
46 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020047 config:
48 members:
49 - host: ${_param:cluster_node01_address}
50 - host: ${_param:cluster_node02_address}
51 - host: ${_param:cluster_node03_address}
52 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010053 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020054 discovery:
55 host: None
56 analytics:
57 members:
58 - host: ${_param:cluster_node01_address}
59 - host: ${_param:cluster_node02_address}
60 - host: ${_param:cluster_node03_address}
61 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010062 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020063 network:
64 host: ${_param:openstack_control_address}
65 bind:
66 address: ${_param:cluster_local_address}
67 discovery:
68 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020069 api:
70 host: ${_param:opencontrail_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020071 analytics:
72 members:
73 - host: ${_param:cluster_node01_address}
74 - host: ${_param:cluster_node02_address}
75 - host: ${_param:cluster_node03_address}
76 message_queue:
77 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020078 - host: ${_param:opencontrail_message_queue_node01_address}
79 - host: ${_param:opencontrail_message_queue_node02_address}
80 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020081 identity:
82 region: ${_param:openstack_region}
83 host: ${_param:openstack_control_address}
84 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010085 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020086 analytics:
87 members:
88 - host: ${_param:cluster_node01_address}
89 - host: ${_param:cluster_node02_address}
90 - host: ${_param:cluster_node03_address}
91 message_queue:
92 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020093 - host: ${_param:opencontrail_message_queue_node01_address}
94 - host: ${_param:opencontrail_message_queue_node02_address}
95 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020096 database:
97 members:
98 - host: ${_param:cluster_node01_address}
99 - host: ${_param:cluster_node02_address}
100 - host: ${_param:cluster_node03_address}
101 discovery:
102 host: None
103 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +0100104 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +0200105 analytics:
106 host: ${_param:opencontrail_control_address}
107 cache:
108 host: 127.0.0.1
109 identity:
110 host: ${_param:openstack_control_address}
111 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +0100112 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +0200113 network:
114 host: ${_param:openstack_control_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +0100115 docker:
116 client:
117 compose:
118 opencontrail_api:
119 status: up
120 pull: true
121 service:
122 controller:
123 image: ${_param:opencontrail_controller_image}
124 volumes:
125 - /etc/contrail:/etc/contrail
126 - /var/lib/configdb:/var/lib/cassandra
127 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
128 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
129 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
130 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
131 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
132 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
133 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
134 network_mode: "host"
135 privileged: true
136 analytics:
137 image: ${_param:opencontrail_analytics_image}
138 network_mode: "host"
139 privileged: true
140 volumes:
141 - /etc/contrail:/etc/contrail
142 - /etc/redis/redis.conf:/etc/redis/redis.conf
143 analyticsdb:
144 image: ${_param:opencontrail_analyticsdb_image}
145 volumes:
146 - /etc/cassandra/cassandra-env-analytics.sh:/etc/cassandra/cassandra-env.sh
147 - /etc/cassandra/cassandra_analytics.yaml:/etc/cassandra/cassandra.yaml
148 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
149 - /etc/contrail:/etc/contrail
150 - /var/lib/analyticsdb:/var/lib/cassandra
151 - /var/lib/analyticsdb_zookeeper_data:/var/lib/zookeeper
152 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
153 - /usr/share/kafka/config/server.properties:/usr/share/kafka/config/server.properties
154 - /usr/share/kafka/config/consumer.properties:/usr/share/kafka/config/consumer.properties
155 - /usr/share/kafka/config/zookeeper.properties:/usr/share/kafka/config/zookeeper.properties
156 - /etc/zookeeper/conf/zoo_analytics.cfg:/etc/zookeeper/conf/zoo.cfg
157 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
158 network_mode: "host"
159 privileged: true