blob: 97969304fb91b778a0b8b9d412f62842bd42d23c [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 Celoud6d2f28c2017-12-01 15:09:47 +010086 identity:
87 host: ${_param:openstack_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020088 analytics:
89 members:
90 - host: ${_param:cluster_node01_address}
91 - host: ${_param:cluster_node02_address}
92 - host: ${_param:cluster_node03_address}
93 message_queue:
94 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020095 - host: ${_param:opencontrail_message_queue_node01_address}
96 - host: ${_param:opencontrail_message_queue_node02_address}
97 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020098 database:
99 members:
100 - host: ${_param:cluster_node01_address}
101 - host: ${_param:cluster_node02_address}
102 - host: ${_param:cluster_node03_address}
103 discovery:
104 host: None
105 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +0100106 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +0200107 analytics:
108 host: ${_param:opencontrail_control_address}
109 cache:
110 host: 127.0.0.1
111 identity:
112 host: ${_param:openstack_control_address}
113 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +0100114 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +0200115 network:
116 host: ${_param:openstack_control_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +0100117 docker:
118 client:
119 compose:
120 opencontrail_api:
121 status: up
122 pull: true
123 service:
124 controller:
125 image: ${_param:opencontrail_controller_image}
126 volumes:
127 - /etc/contrail:/etc/contrail
128 - /var/lib/configdb:/var/lib/cassandra
129 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
130 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
131 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
132 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
133 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
134 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
135 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
136 network_mode: "host"
137 privileged: true
138 analytics:
139 image: ${_param:opencontrail_analytics_image}
140 network_mode: "host"
141 privileged: true
142 volumes:
143 - /etc/contrail:/etc/contrail
144 - /etc/redis/redis.conf:/etc/redis/redis.conf
145 analyticsdb:
146 image: ${_param:opencontrail_analyticsdb_image}
147 volumes:
148 - /etc/cassandra/cassandra-env-analytics.sh:/etc/cassandra/cassandra-env.sh
149 - /etc/cassandra/cassandra_analytics.yaml:/etc/cassandra/cassandra.yaml
150 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
151 - /etc/contrail:/etc/contrail
152 - /var/lib/analyticsdb:/var/lib/cassandra
153 - /var/lib/analyticsdb_zookeeper_data:/var/lib/zookeeper
154 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
155 - /usr/share/kafka/config/server.properties:/usr/share/kafka/config/server.properties
156 - /usr/share/kafka/config/consumer.properties:/usr/share/kafka/config/consumer.properties
157 - /usr/share/kafka/config/zookeeper.properties:/usr/share/kafka/config/zookeeper.properties
158 - /etc/zookeeper/conf/zoo_analytics.cfg:/etc/zookeeper/conf/zoo.cfg
159 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
160 network_mode: "host"
161 privileged: true