blob: 123392cccd3d7812e038069e0d16c1d1c8512d89 [file] [log] [blame]
Marek Celouda2f29f02017-06-16 14:47:31 +02001classes:
Svimbacfbe6992018-06-08 13:56:05 +02002- service.docker.host
Marek Celouda2f29f02017-06-16 14:47:31 +02003- service.keepalived.cluster.single
4- service.opencontrail.control.control
5- system.haproxy.proxy.listen.opencontrail.control
6parameters:
7 _param:
azvyagintsev16ca7ce2018-08-21 17:20:33 +03008 mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
Marek Celouda2f29f02017-06-16 14:47:31 +02009 opencontrail_version: 4.0
10 linux_repo_contrail_component: oc40
Petr Jedinýeb7fceb2018-06-21 19:17:27 +020011 opencontrail_image_tag: latest
Marek Celoudcba1a442017-06-20 17:14:34 +020012 opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address}
13 opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address}
14 opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address}
azvyagintsev16ca7ce2018-08-21 17:20:33 +030015 opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010016 opencontrail_controller_container_name: opencontrail_controller_1
Svimba483e8092018-09-18 17:39:04 +020017 opencontrail_api_workers_count: 6
Marek Celoudfa1fa512017-11-03 16:07:04 +010018 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020019 opencontrail:
20 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010021 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020022 identity:
23 host: ${_param:openstack_control_address}
24 network:
25 host: ${_param:openstack_control_address}
26 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010027 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020028 network:
29 host: ${_param:openstack_control_address}
30 bind:
31 address: ${_param:cluster_local_address}
32 discovery:
33 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020034 api:
35 host: ${_param:opencontrail_control_address}
Svimba483e8092018-09-18 17:39:04 +020036 workers_count: ${_param:opencontrail_api_workers_count}
Marek Celouda2f29f02017-06-16 14:47:31 +020037 analytics:
38 members:
39 - host: ${_param:opencontrail_analytics_node01_address}
40 - host: ${_param:opencontrail_analytics_node02_address}
41 - host: ${_param:opencontrail_analytics_node03_address}
42 message_queue:
43 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 identity:
48 region: ${_param:openstack_region}
49 host: ${_param:openstack_control_address}
50 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010051 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020052 analytics:
53 members:
54 - host: ${_param:opencontrail_analytics_node01_address}
55 - host: ${_param:opencontrail_analytics_node02_address}
56 - host: ${_param:opencontrail_analytics_node03_address}
57 message_queue:
58 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020059 - host: ${_param:opencontrail_message_queue_node01_address}
60 - host: ${_param:opencontrail_message_queue_node02_address}
61 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020062 database:
63 members:
64 - host: ${_param:opencontrail_control_node01_address}
65 - host: ${_param:opencontrail_control_node02_address}
66 - host: ${_param:opencontrail_control_node03_address}
67 discovery:
68 host: None
69 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +010070 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020071 analytics:
72 host: ${_param:opencontrail_analytics_address}
73 cache:
74 host: 127.0.0.1
75 identity:
76 host: ${_param:openstack_control_address}
77 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010078 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +020079 network:
80 host: ${_param:openstack_control_address}
81 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010082 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020083 analytics:
84 members:
85 - host: ${_param:opencontrail_analytics_node01_address}
86 - host: ${_param:opencontrail_analytics_node02_address}
87 - host: ${_param:opencontrail_analytics_node03_address}
88 linux:
89 system:
90 kernel:
91 modules:
92 - nf_conntrack_ipv4
Marek Celoudfa1fa512017-11-03 16:07:04 +010093 docker:
94 client:
95 compose:
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010096 opencontrail:
Marek Celoudfa1fa512017-11-03 16:07:04 +010097 status: up
98 pull: true
99 service:
100 controller:
101 image: ${_param:opencontrail_controller_image}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +0100102 container_name: ${_param:opencontrail_controller_container_name}
Marek Celoudfa1fa512017-11-03 16:07:04 +0100103 volumes:
104 - /etc/contrail:/etc/contrail
105 - /var/lib/configdb:/var/lib/cassandra
106 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
107 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
108 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
109 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
110 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
111 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
112 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
Svimbad3e59382018-07-03 12:25:19 +0200113 - /var/log/contrail:/var/log/contrail
114 - /var/log/journal/contrail-controller:/var/log/journal
Marek Celoudfa1fa512017-11-03 16:07:04 +0100115 network_mode: "host"
116 privileged: true
psvimberskya5463c92018-01-02 14:10:54 +0100117 restart: always
Svimbad3e59382018-07-03 12:25:19 +0200118 env_file:
119 - contrail.env