blob: f1d603ca17b42a0e1aa4bfc168fa9236fddc5a3e [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
13 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020014 opencontrail:
15 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010016 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020017 identity:
18 host: ${_param:openstack_control_address}
19 network:
20 host: ${_param:openstack_control_address}
21 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010022 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020023 network:
24 host: ${_param:openstack_control_address}
25 bind:
26 address: ${_param:cluster_local_address}
27 discovery:
28 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020029 api:
30 host: ${_param:opencontrail_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020031 analytics:
32 members:
33 - host: ${_param:opencontrail_analytics_node01_address}
34 - host: ${_param:opencontrail_analytics_node02_address}
35 - host: ${_param:opencontrail_analytics_node03_address}
36 message_queue:
37 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020038 - host: ${_param:opencontrail_message_queue_node01_address}
39 - host: ${_param:opencontrail_message_queue_node02_address}
40 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020041 identity:
42 region: ${_param:openstack_region}
43 host: ${_param:openstack_control_address}
44 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010045 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020046 analytics:
47 members:
48 - host: ${_param:opencontrail_analytics_node01_address}
49 - host: ${_param:opencontrail_analytics_node02_address}
50 - host: ${_param:opencontrail_analytics_node03_address}
51 message_queue:
52 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020053 - host: ${_param:opencontrail_message_queue_node01_address}
54 - host: ${_param:opencontrail_message_queue_node02_address}
55 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020056 database:
57 members:
58 - host: ${_param:opencontrail_control_node01_address}
59 - host: ${_param:opencontrail_control_node02_address}
60 - host: ${_param:opencontrail_control_node03_address}
61 discovery:
62 host: None
63 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +010064 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020065 analytics:
66 host: ${_param:opencontrail_analytics_address}
67 cache:
68 host: 127.0.0.1
69 identity:
70 host: ${_param:openstack_control_address}
71 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010072 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +020073 network:
74 host: ${_param:openstack_control_address}
75 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010076 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020077 analytics:
78 members:
79 - host: ${_param:opencontrail_analytics_node01_address}
80 - host: ${_param:opencontrail_analytics_node02_address}
81 - host: ${_param:opencontrail_analytics_node03_address}
82 linux:
83 system:
84 kernel:
85 modules:
86 - nf_conntrack_ipv4
Marek Celoudfa1fa512017-11-03 16:07:04 +010087 docker:
88 client:
89 compose:
90 opencontrail_api:
91 status: up
92 pull: true
93 service:
94 controller:
95 image: ${_param:opencontrail_controller_image}
96 volumes:
97 - /etc/contrail:/etc/contrail
98 - /var/lib/configdb:/var/lib/cassandra
99 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
100 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
101 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
102 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
103 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
104 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
105 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
106 network_mode: "host"
107 privileged: true