blob: c20652c8198101da1b8af43818f50d6b0b17656f [file] [log] [blame]
Marek Celouda2f29f02017-06-16 14:47:31 +02001classes:
2- service.keepalived.cluster.single
3- service.opencontrail.control.control
4- system.haproxy.proxy.listen.opencontrail.control
5parameters:
6 _param:
7 opencontrail_version: 4.0
8 linux_repo_contrail_component: oc40
Marek Celoudcba1a442017-06-20 17:14:34 +02009 opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address}
10 opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address}
11 opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address}
Marek Celoudfa1fa512017-11-03 16:07:04 +010012 opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-controller
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010013 opencontrail_controller_container_name: opencontrail_controller_1
Marek Celoudfa1fa512017-11-03 16:07:04 +010014 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020015 opencontrail:
16 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010017 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020018 identity:
19 host: ${_param:openstack_control_address}
20 network:
21 host: ${_param:openstack_control_address}
22 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010023 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020024 network:
25 host: ${_param:openstack_control_address}
26 bind:
27 address: ${_param:cluster_local_address}
28 discovery:
29 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020030 api:
31 host: ${_param:opencontrail_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020032 analytics:
33 members:
34 - host: ${_param:opencontrail_analytics_node01_address}
35 - host: ${_param:opencontrail_analytics_node02_address}
36 - host: ${_param:opencontrail_analytics_node03_address}
37 message_queue:
38 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020039 - host: ${_param:opencontrail_message_queue_node01_address}
40 - host: ${_param:opencontrail_message_queue_node02_address}
41 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020042 identity:
43 region: ${_param:openstack_region}
44 host: ${_param:openstack_control_address}
45 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010046 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020047 analytics:
48 members:
49 - host: ${_param:opencontrail_analytics_node01_address}
50 - host: ${_param:opencontrail_analytics_node02_address}
51 - host: ${_param:opencontrail_analytics_node03_address}
52 message_queue:
53 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020054 - host: ${_param:opencontrail_message_queue_node01_address}
55 - host: ${_param:opencontrail_message_queue_node02_address}
56 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020057 database:
58 members:
59 - host: ${_param:opencontrail_control_node01_address}
60 - host: ${_param:opencontrail_control_node02_address}
61 - host: ${_param:opencontrail_control_node03_address}
62 discovery:
63 host: None
64 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +010065 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020066 analytics:
67 host: ${_param:opencontrail_analytics_address}
68 cache:
69 host: 127.0.0.1
70 identity:
71 host: ${_param:openstack_control_address}
72 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010073 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +020074 network:
75 host: ${_param:openstack_control_address}
76 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010077 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020078 analytics:
79 members:
80 - host: ${_param:opencontrail_analytics_node01_address}
81 - host: ${_param:opencontrail_analytics_node02_address}
82 - host: ${_param:opencontrail_analytics_node03_address}
83 linux:
84 system:
85 kernel:
86 modules:
87 - nf_conntrack_ipv4
Marek Celoudfa1fa512017-11-03 16:07:04 +010088 docker:
89 client:
90 compose:
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010091 opencontrail:
Marek Celoudfa1fa512017-11-03 16:07:04 +010092 status: up
93 pull: true
94 service:
95 controller:
96 image: ${_param:opencontrail_controller_image}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010097 container_name: ${_param:opencontrail_controller_container_name}
Marek Celoudfa1fa512017-11-03 16:07:04 +010098 volumes:
99 - /etc/contrail:/etc/contrail
100 - /var/lib/configdb:/var/lib/cassandra
101 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
102 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
103 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
104 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
105 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
106 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
107 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
108 network_mode: "host"
109 privileged: true
psvimberskya5463c92018-01-02 14:10:54 +0100110 restart: always