Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 1 | classes: |
Svimba | cfbe699 | 2018-06-08 13:56:05 +0200 | [diff] [blame] | 2 | - service.docker.host |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 3 | - service.keepalived.cluster.single |
| 4 | - service.opencontrail.control.control |
| 5 | - system.haproxy.proxy.listen.opencontrail.control |
| 6 | parameters: |
| 7 | _param: |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame^] | 8 | mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com' |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 9 | opencontrail_version: 4.0 |
| 10 | linux_repo_contrail_component: oc40 |
Petr Jediný | eb7fceb | 2018-06-21 19:17:27 +0200 | [diff] [blame] | 11 | opencontrail_image_tag: latest |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 12 | 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} |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame^] | 15 | opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag} |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 16 | opencontrail_controller_container_name: opencontrail_controller_1 |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 17 | analytics_vip_address: ${_param:opencontrail_analytics_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 18 | opencontrail: |
| 19 | common: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 20 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 21 | identity: |
| 22 | host: ${_param:openstack_control_address} |
| 23 | network: |
| 24 | host: ${_param:openstack_control_address} |
| 25 | config: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 26 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 27 | network: |
| 28 | host: ${_param:openstack_control_address} |
| 29 | bind: |
| 30 | address: ${_param:cluster_local_address} |
| 31 | discovery: |
| 32 | host: None |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 33 | api: |
| 34 | host: ${_param:opencontrail_control_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 35 | analytics: |
| 36 | members: |
| 37 | - host: ${_param:opencontrail_analytics_node01_address} |
| 38 | - host: ${_param:opencontrail_analytics_node02_address} |
| 39 | - host: ${_param:opencontrail_analytics_node03_address} |
| 40 | message_queue: |
| 41 | members: |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 42 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 43 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 44 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 45 | identity: |
| 46 | region: ${_param:openstack_region} |
| 47 | host: ${_param:openstack_control_address} |
| 48 | control: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 49 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 50 | analytics: |
| 51 | members: |
| 52 | - host: ${_param:opencontrail_analytics_node01_address} |
| 53 | - host: ${_param:opencontrail_analytics_node02_address} |
| 54 | - host: ${_param:opencontrail_analytics_node03_address} |
| 55 | message_queue: |
| 56 | members: |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 57 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 58 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 59 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 60 | database: |
| 61 | members: |
| 62 | - host: ${_param:opencontrail_control_node01_address} |
| 63 | - host: ${_param:opencontrail_control_node02_address} |
| 64 | - host: ${_param:opencontrail_control_node03_address} |
| 65 | discovery: |
| 66 | host: None |
| 67 | web: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 68 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 69 | analytics: |
| 70 | host: ${_param:opencontrail_analytics_address} |
| 71 | cache: |
| 72 | host: 127.0.0.1 |
| 73 | identity: |
| 74 | host: ${_param:openstack_control_address} |
| 75 | database: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 76 | port: 9041 |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 77 | network: |
| 78 | host: ${_param:openstack_control_address} |
| 79 | database: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 80 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 81 | analytics: |
| 82 | members: |
| 83 | - host: ${_param:opencontrail_analytics_node01_address} |
| 84 | - host: ${_param:opencontrail_analytics_node02_address} |
| 85 | - host: ${_param:opencontrail_analytics_node03_address} |
| 86 | linux: |
| 87 | system: |
| 88 | kernel: |
| 89 | modules: |
| 90 | - nf_conntrack_ipv4 |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 91 | docker: |
| 92 | client: |
| 93 | compose: |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 94 | opencontrail: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 95 | status: up |
| 96 | pull: true |
| 97 | service: |
| 98 | controller: |
| 99 | image: ${_param:opencontrail_controller_image} |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 100 | container_name: ${_param:opencontrail_controller_container_name} |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 101 | volumes: |
| 102 | - /etc/contrail:/etc/contrail |
| 103 | - /var/lib/configdb:/var/lib/cassandra |
| 104 | - /var/lib/config_zookeeper_data:/var/lib/zookeeper |
| 105 | - /var/lib/zookeeper/myid:/var/lib/zookeeper/myid |
| 106 | - /etc/cassandra/cassandra-env.sh:/etc/cassandra/cassandra-env.sh |
| 107 | - /etc/cassandra/cassandra.yaml:/etc/cassandra/cassandra.yaml |
| 108 | - /etc/cassandra/logback.xml:/etc/cassandra/logback.xml |
| 109 | - /etc/zookeeper/conf/zoo.cfg:/etc/zookeeper/conf/zoo.cfg |
| 110 | - /etc/zookeeper/conf/log4j.properties:/etc/zookeeper/conf/log4j.properties |
Svimba | d3e5938 | 2018-07-03 12:25:19 +0200 | [diff] [blame] | 111 | - /var/log/contrail:/var/log/contrail |
| 112 | - /var/log/journal/contrail-controller:/var/log/journal |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 113 | network_mode: "host" |
| 114 | privileged: true |
psvimbersky | a5463c9 | 2018-01-02 14:10:54 +0100 | [diff] [blame] | 115 | restart: always |
Svimba | d3e5938 | 2018-07-03 12:25:19 +0200 | [diff] [blame] | 116 | env_file: |
| 117 | - contrail.env |