Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 1 | classes: |
| 2 | - service.haproxy.proxy.single |
| 3 | - service.opencontrail.control.cluster |
| 4 | - system.haproxy.proxy.listen.opencontrail.control4_0 |
| 5 | - system.haproxy.proxy.listen.opencontrail.analytics |
| 6 | parameters: |
| 7 | _param: |
| 8 | opencontrail_kafka_log_cleanup_mtime: '+7' |
Anton Samoylov | 73f12db | 2018-12-12 18:34:24 +0400 | [diff] [blame] | 9 | opencontrail_kafka_log_dir: '/usr/share/kafka/logs' |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 10 | opencontrail_version: 4.0 |
| 11 | linux_repo_contrail_component: oc40 |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 12 | opencontrail_message_queue_node01_address: ${_param:openstack_control_node01_address} |
| 13 | opencontrail_message_queue_node02_address: ${_param:openstack_control_node02_address} |
| 14 | opencontrail_message_queue_node03_address: ${_param:openstack_control_node03_address} |
| 15 | opencontrail_message_queue_address: ${_param:openstack_control_address} |
Anton Samoylov | f05f9a8 | 2019-03-28 16:38:41 +0400 | [diff] [blame] | 16 | opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_docker_image_tag} |
| 17 | opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_docker_image_tag} |
| 18 | opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_docker_image_tag} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 19 | opencontrail_controller_container_name: opencontrail_controller_1 |
| 20 | opencontrail_analytics_container_name: opencontrail_analytics_1 |
| 21 | opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1 |
Sergey Kreys | 893f09b | 2019-02-14 12:38:18 +0000 | [diff] [blame] | 22 | opencontrail_api_workers_count: 6 |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 23 | analytics_vip_address: ${_param:opencontrail_analytics_address} |
| 24 | # Temprorary fix for MOS9 packages to pin old version of kafka |
| 25 | linux: |
| 26 | system: |
| 27 | kernel: |
| 28 | modules: |
| 29 | - nf_conntrack_ipv4 |
| 30 | job: |
| 31 | kafka_logs_cleanup: |
Anton Samoylov | 73f12db | 2018-12-12 18:34:24 +0400 | [diff] [blame] | 32 | command: "find ${_param:opencontrail_kafka_log_dir} -name '*.log.*' -type f -mtime ${_param:opencontrail_kafka_log_cleanup_mtime} -exec rm {} \\;" |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 33 | identifier: kafka_logs_cleanup |
| 34 | hour: 0 |
| 35 | minute: 0 |
| 36 | opencontrail: |
| 37 | common: |
| 38 | config_only: true |
| 39 | identity: |
| 40 | host: ${_param:openstack_control_address} |
| 41 | network: |
| 42 | host: ${_param:openstack_control_address} |
| 43 | collector: |
Anton Samoylov | 55edbe1 | 2019-01-24 14:19:06 +0400 | [diff] [blame] | 44 | role: ${_param:opencontrail_node_role} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 45 | config_only: true |
| 46 | discovery: |
| 47 | host: None |
| 48 | analytics: |
| 49 | members: |
| 50 | - host: ${_param:cluster_node01_address} |
| 51 | - host: ${_param:cluster_node02_address} |
| 52 | - host: ${_param:cluster_node03_address} |
| 53 | message_queue: |
| 54 | host: ${_param:opencontrail_message_queue_address} |
Svimba | a1b2451 | 2018-12-13 10:55:29 +0100 | [diff] [blame] | 55 | password: ${_param:opencontrail_message_queue_password} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 56 | members: |
| 57 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 58 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 59 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 60 | config: |
| 61 | members: |
| 62 | - host: ${_param:cluster_node01_address} |
| 63 | - host: ${_param:cluster_node02_address} |
| 64 | - host: ${_param:cluster_node03_address} |
| 65 | database: |
| 66 | config_only: true |
| 67 | discovery: |
| 68 | host: None |
| 69 | analytics: |
| 70 | members: |
| 71 | - host: ${_param:cluster_node01_address} |
| 72 | - host: ${_param:cluster_node02_address} |
| 73 | - host: ${_param:cluster_node03_address} |
| 74 | config: |
| 75 | config_only: true |
| 76 | network: |
| 77 | host: ${_param:openstack_control_address} |
| 78 | bind: |
| 79 | address: ${_param:cluster_local_address} |
| 80 | discovery: |
| 81 | host: None |
| 82 | api: |
| 83 | host: ${_param:opencontrail_control_address} |
| 84 | workers_count: ${_param:opencontrail_api_workers_count} |
| 85 | analytics: |
| 86 | members: |
| 87 | - host: ${_param:cluster_node01_address} |
| 88 | - host: ${_param:cluster_node02_address} |
| 89 | - host: ${_param:cluster_node03_address} |
| 90 | message_queue: |
Svimba | a1b2451 | 2018-12-13 10:55:29 +0100 | [diff] [blame] | 91 | password: ${_param:opencontrail_message_queue_password} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 92 | members: |
| 93 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 94 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 95 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 96 | identity: |
| 97 | region: ${_param:openstack_region} |
| 98 | host: ${_param:openstack_control_address} |
| 99 | control: |
Anton Samoylov | 55edbe1 | 2019-01-24 14:19:06 +0400 | [diff] [blame] | 100 | role: ${_param:opencontrail_node_role} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 101 | config_only: true |
| 102 | identity: |
| 103 | host: ${_param:openstack_control_address} |
| 104 | analytics: |
| 105 | members: |
| 106 | - host: ${_param:cluster_node01_address} |
| 107 | - host: ${_param:cluster_node02_address} |
| 108 | - host: ${_param:cluster_node03_address} |
| 109 | message_queue: |
Svimba | a1b2451 | 2018-12-13 10:55:29 +0100 | [diff] [blame] | 110 | password: ${_param:opencontrail_message_queue_password} |
Adam Tengler | 8b77bf6 | 2018-10-24 22:18:56 +0000 | [diff] [blame] | 111 | members: |
| 112 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 113 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 114 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 115 | database: |
| 116 | members: |
| 117 | - host: ${_param:cluster_node01_address} |
| 118 | - host: ${_param:cluster_node02_address} |
| 119 | - host: ${_param:cluster_node03_address} |
| 120 | discovery: |
| 121 | host: None |
| 122 | web: |
| 123 | config_only: true |
| 124 | analytics: |
| 125 | host: ${_param:opencontrail_control_address} |
| 126 | cache: |
| 127 | host: 127.0.0.1 |
| 128 | identity: |
| 129 | host: ${_param:openstack_control_address} |
| 130 | database: |
| 131 | port: 9041 |
| 132 | network: |
| 133 | host: ${_param:openstack_control_address} |