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: |
| 8 | opencontrail_version: 4.0 |
| 9 | linux_repo_contrail_component: oc40 |
Petr Jediný | eb7fceb | 2018-06-21 19:17:27 +0200 | [diff] [blame] | 10 | opencontrail_image_tag: latest |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 11 | 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} |
Petr Jediný | eb7fceb | 2018-06-21 19:17:27 +0200 | [diff] [blame] | 14 | opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller::${_param:opencontrail_image_tag} |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 15 | opencontrail_controller_container_name: opencontrail_controller_1 |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 16 | analytics_vip_address: ${_param:opencontrail_analytics_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 17 | opencontrail: |
| 18 | common: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 19 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 20 | identity: |
| 21 | host: ${_param:openstack_control_address} |
| 22 | network: |
| 23 | host: ${_param:openstack_control_address} |
| 24 | config: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 25 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 26 | network: |
| 27 | host: ${_param:openstack_control_address} |
| 28 | bind: |
| 29 | address: ${_param:cluster_local_address} |
| 30 | discovery: |
| 31 | host: None |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 32 | api: |
| 33 | host: ${_param:opencontrail_control_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 34 | 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 Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 41 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 42 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 43 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 44 | identity: |
| 45 | region: ${_param:openstack_region} |
| 46 | host: ${_param:openstack_control_address} |
| 47 | control: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 48 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 49 | 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 Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 56 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 57 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 58 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 59 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 67 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 68 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 75 | port: 9041 |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 76 | network: |
| 77 | host: ${_param:openstack_control_address} |
| 78 | database: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 79 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 80 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 90 | docker: |
| 91 | client: |
| 92 | compose: |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 93 | opencontrail: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 94 | status: up |
| 95 | pull: true |
| 96 | service: |
| 97 | controller: |
| 98 | image: ${_param:opencontrail_controller_image} |
Pavel Svimbersky | 38f216c | 2017-12-20 10:46:35 +0100 | [diff] [blame] | 99 | container_name: ${_param:opencontrail_controller_container_name} |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 100 | 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 |
psvimbersky | a5463c9 | 2018-01-02 14:10:54 +0100 | [diff] [blame] | 112 | restart: always |