Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.keepalived.cluster.single |
| 3 | - service.opencontrail.control.control |
| 4 | - system.haproxy.proxy.listen.opencontrail.control |
| 5 | parameters: |
| 6 | _param: |
| 7 | opencontrail_version: 4.0 |
| 8 | linux_repo_contrail_component: oc40 |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 9 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 12 | opencontrail_controller_image: docker-prod-local.artifactory.mirantis.com/opencontrail/opencontrail-controller |
| 13 | analytics_vip_address: ${_param:opencontrail_analytics_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 14 | opencontrail: |
| 15 | common: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 16 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 17 | identity: |
| 18 | host: ${_param:openstack_control_address} |
| 19 | network: |
| 20 | host: ${_param:openstack_control_address} |
| 21 | config: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 22 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 23 | network: |
| 24 | host: ${_param:openstack_control_address} |
| 25 | bind: |
| 26 | address: ${_param:cluster_local_address} |
| 27 | discovery: |
| 28 | host: None |
Marek Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 29 | api: |
| 30 | host: ${_param:opencontrail_control_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 31 | 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 Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 38 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 39 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 40 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 41 | identity: |
| 42 | region: ${_param:openstack_region} |
| 43 | host: ${_param:openstack_control_address} |
| 44 | control: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 45 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 46 | 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 Celoud | cba1a44 | 2017-06-20 17:14:34 +0200 | [diff] [blame] | 53 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 54 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 55 | - host: ${_param:opencontrail_message_queue_node03_address} |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 56 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 64 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 65 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 72 | port: 9041 |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 73 | network: |
| 74 | host: ${_param:openstack_control_address} |
| 75 | database: |
Marek Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 76 | config_only: true |
Marek Celoud | a2f29f0 | 2017-06-16 14:47:31 +0200 | [diff] [blame] | 77 | 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 Celoud | fa1fa51 | 2017-11-03 16:07:04 +0100 | [diff] [blame] | 87 | 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 |