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