blob: e660e137834543b48957c4905fda8e332f0a85aa [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:
8 opencontrail_version: 4.0
9 linux_repo_contrail_component: oc40
Petr Jedinýeb7fceb2018-06-21 19:17:27 +020010 opencontrail_image_tag: latest
Marek Celoudcba1a442017-06-20 17:14:34 +020011 opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address}
12 opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address}
13 opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address}
Svimba3d897092018-06-29 11:09:28 +020014 opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010015 opencontrail_controller_container_name: opencontrail_controller_1
Marek Celoudfa1fa512017-11-03 16:07:04 +010016 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020017 opencontrail:
18 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010019 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020020 identity:
21 host: ${_param:openstack_control_address}
22 network:
23 host: ${_param:openstack_control_address}
24 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010025 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020026 network:
27 host: ${_param:openstack_control_address}
28 bind:
29 address: ${_param:cluster_local_address}
30 discovery:
31 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020032 api:
33 host: ${_param:opencontrail_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020034 analytics:
35 members:
36 - host: ${_param:opencontrail_analytics_node01_address}
37 - host: ${_param:opencontrail_analytics_node02_address}
38 - host: ${_param:opencontrail_analytics_node03_address}
39 message_queue:
40 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020041 - host: ${_param:opencontrail_message_queue_node01_address}
42 - host: ${_param:opencontrail_message_queue_node02_address}
43 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020044 identity:
45 region: ${_param:openstack_region}
46 host: ${_param:openstack_control_address}
47 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010048 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020049 analytics:
50 members:
51 - host: ${_param:opencontrail_analytics_node01_address}
52 - host: ${_param:opencontrail_analytics_node02_address}
53 - host: ${_param:opencontrail_analytics_node03_address}
54 message_queue:
55 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020056 - host: ${_param:opencontrail_message_queue_node01_address}
57 - host: ${_param:opencontrail_message_queue_node02_address}
58 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020059 database:
60 members:
61 - host: ${_param:opencontrail_control_node01_address}
62 - host: ${_param:opencontrail_control_node02_address}
63 - host: ${_param:opencontrail_control_node03_address}
64 discovery:
65 host: None
66 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +010067 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020068 analytics:
69 host: ${_param:opencontrail_analytics_address}
70 cache:
71 host: 127.0.0.1
72 identity:
73 host: ${_param:openstack_control_address}
74 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010075 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +020076 network:
77 host: ${_param:openstack_control_address}
78 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010079 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020080 analytics:
81 members:
82 - host: ${_param:opencontrail_analytics_node01_address}
83 - host: ${_param:opencontrail_analytics_node02_address}
84 - host: ${_param:opencontrail_analytics_node03_address}
85 linux:
86 system:
87 kernel:
88 modules:
89 - nf_conntrack_ipv4
Marek Celoudfa1fa512017-11-03 16:07:04 +010090 docker:
91 client:
92 compose:
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010093 opencontrail:
Marek Celoudfa1fa512017-11-03 16:07:04 +010094 status: up
95 pull: true
96 service:
97 controller:
98 image: ${_param:opencontrail_controller_image}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010099 container_name: ${_param:opencontrail_controller_container_name}
Marek Celoudfa1fa512017-11-03 16:07:04 +0100100 volumes:
101 - /etc/contrail:/etc/contrail
102 - /var/lib/configdb:/var/lib/cassandra
103 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
104 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
105 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
106 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
107 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
108 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
109 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
110 network_mode: "host"
111 privileged: true
psvimberskya5463c92018-01-02 14:10:54 +0100112 restart: always