blob: 10c72eeb52c56de32a8d8e2579caa52680682210 [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
Marek Celoudcba1a442017-06-20 17:14:34 +020010 opencontrail_message_queue_node01_address: ${_param:openstack_message_queue_node01_address}
11 opencontrail_message_queue_node02_address: ${_param:openstack_message_queue_node02_address}
12 opencontrail_message_queue_node03_address: ${_param:openstack_message_queue_node03_address}
psvimbersky1d9f0312018-01-10 16:09:31 +010013 opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010014 opencontrail_controller_container_name: opencontrail_controller_1
Marek Celoudfa1fa512017-11-03 16:07:04 +010015 analytics_vip_address: ${_param:opencontrail_analytics_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020016 opencontrail:
17 common:
Marek Celoudfa1fa512017-11-03 16:07:04 +010018 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020019 identity:
20 host: ${_param:openstack_control_address}
21 network:
22 host: ${_param:openstack_control_address}
23 config:
Marek Celoudfa1fa512017-11-03 16:07:04 +010024 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020025 network:
26 host: ${_param:openstack_control_address}
27 bind:
28 address: ${_param:cluster_local_address}
29 discovery:
30 host: None
Marek Celoudcba1a442017-06-20 17:14:34 +020031 api:
32 host: ${_param:opencontrail_control_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020033 analytics:
34 members:
35 - host: ${_param:opencontrail_analytics_node01_address}
36 - host: ${_param:opencontrail_analytics_node02_address}
37 - host: ${_param:opencontrail_analytics_node03_address}
38 message_queue:
39 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020040 - host: ${_param:opencontrail_message_queue_node01_address}
41 - host: ${_param:opencontrail_message_queue_node02_address}
42 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020043 identity:
44 region: ${_param:openstack_region}
45 host: ${_param:openstack_control_address}
46 control:
Marek Celoudfa1fa512017-11-03 16:07:04 +010047 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020048 analytics:
49 members:
50 - host: ${_param:opencontrail_analytics_node01_address}
51 - host: ${_param:opencontrail_analytics_node02_address}
52 - host: ${_param:opencontrail_analytics_node03_address}
53 message_queue:
54 members:
Marek Celoudcba1a442017-06-20 17:14:34 +020055 - host: ${_param:opencontrail_message_queue_node01_address}
56 - host: ${_param:opencontrail_message_queue_node02_address}
57 - host: ${_param:opencontrail_message_queue_node03_address}
Marek Celouda2f29f02017-06-16 14:47:31 +020058 database:
59 members:
60 - host: ${_param:opencontrail_control_node01_address}
61 - host: ${_param:opencontrail_control_node02_address}
62 - host: ${_param:opencontrail_control_node03_address}
63 discovery:
64 host: None
65 web:
Marek Celoudfa1fa512017-11-03 16:07:04 +010066 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020067 analytics:
68 host: ${_param:opencontrail_analytics_address}
69 cache:
70 host: 127.0.0.1
71 identity:
72 host: ${_param:openstack_control_address}
73 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010074 port: 9041
Marek Celouda2f29f02017-06-16 14:47:31 +020075 network:
76 host: ${_param:openstack_control_address}
77 database:
Marek Celoudfa1fa512017-11-03 16:07:04 +010078 config_only: true
Marek Celouda2f29f02017-06-16 14:47:31 +020079 analytics:
80 members:
81 - host: ${_param:opencontrail_analytics_node01_address}
82 - host: ${_param:opencontrail_analytics_node02_address}
83 - host: ${_param:opencontrail_analytics_node03_address}
84 linux:
85 system:
86 kernel:
87 modules:
88 - nf_conntrack_ipv4
Marek Celoudfa1fa512017-11-03 16:07:04 +010089 docker:
90 client:
91 compose:
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010092 opencontrail:
Marek Celoudfa1fa512017-11-03 16:07:04 +010093 status: up
94 pull: true
95 service:
96 controller:
97 image: ${_param:opencontrail_controller_image}
Pavel Svimbersky38f216c2017-12-20 10:46:35 +010098 container_name: ${_param:opencontrail_controller_container_name}
Marek Celoudfa1fa512017-11-03 16:07:04 +010099 volumes:
100 - /etc/contrail:/etc/contrail
101 - /var/lib/configdb:/var/lib/cassandra
102 - /var/lib/config_zookeeper_data:/var/lib/zookeeper
103 - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
104 - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh
105 - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml
106 - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml
107 - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg
108 - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties
109 network_mode: "host"
110 privileged: true
psvimberskya5463c92018-01-02 14:10:54 +0100111 restart: always