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' |
| 9 | opencontrail_kafka_log_cleanup_dir: '/usr/share/kafka/logs/' |
| 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} |
| 17 | opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_image_tag} |
| 18 | opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_image_tag} |
| 19 | opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag} |
| 20 | opencontrail_controller_container_name: opencontrail_controller_1 |
| 21 | opencontrail_analytics_container_name: opencontrail_analytics_1 |
| 22 | opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1 |
| 23 | opencontrail_api_workers_count: 6 |
| 24 | analytics_vip_address: ${_param:opencontrail_analytics_address} |
| 25 | # Temprorary fix for MOS9 packages to pin old version of kafka |
| 26 | linux: |
| 27 | system: |
| 28 | kernel: |
| 29 | modules: |
| 30 | - nf_conntrack_ipv4 |
| 31 | job: |
| 32 | kafka_logs_cleanup: |
| 33 | command: "find ${_param:opencontrail_kafka_log_cleanup_dir} -name '*.log.*' -type f -mtime ${_param:opencontrail_kafka_log_cleanup_mtime} -exec rm {} \\;" |
| 34 | identifier: kafka_logs_cleanup |
| 35 | hour: 0 |
| 36 | minute: 0 |
| 37 | opencontrail: |
| 38 | common: |
| 39 | config_only: true |
| 40 | identity: |
| 41 | host: ${_param:openstack_control_address} |
| 42 | network: |
| 43 | host: ${_param:openstack_control_address} |
| 44 | collector: |
| 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} |
| 55 | members: |
| 56 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 57 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 58 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 59 | config: |
| 60 | members: |
| 61 | - host: ${_param:cluster_node01_address} |
| 62 | - host: ${_param:cluster_node02_address} |
| 63 | - host: ${_param:cluster_node03_address} |
| 64 | database: |
| 65 | config_only: true |
| 66 | discovery: |
| 67 | host: None |
| 68 | analytics: |
| 69 | members: |
| 70 | - host: ${_param:cluster_node01_address} |
| 71 | - host: ${_param:cluster_node02_address} |
| 72 | - host: ${_param:cluster_node03_address} |
| 73 | config: |
| 74 | config_only: true |
| 75 | network: |
| 76 | host: ${_param:openstack_control_address} |
| 77 | bind: |
| 78 | address: ${_param:cluster_local_address} |
| 79 | discovery: |
| 80 | host: None |
| 81 | api: |
| 82 | host: ${_param:opencontrail_control_address} |
| 83 | workers_count: ${_param:opencontrail_api_workers_count} |
| 84 | analytics: |
| 85 | members: |
| 86 | - host: ${_param:cluster_node01_address} |
| 87 | - host: ${_param:cluster_node02_address} |
| 88 | - host: ${_param:cluster_node03_address} |
| 89 | message_queue: |
| 90 | members: |
| 91 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 92 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 93 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 94 | identity: |
| 95 | region: ${_param:openstack_region} |
| 96 | host: ${_param:openstack_control_address} |
| 97 | control: |
| 98 | config_only: true |
| 99 | identity: |
| 100 | host: ${_param:openstack_control_address} |
| 101 | analytics: |
| 102 | members: |
| 103 | - host: ${_param:cluster_node01_address} |
| 104 | - host: ${_param:cluster_node02_address} |
| 105 | - host: ${_param:cluster_node03_address} |
| 106 | message_queue: |
| 107 | members: |
| 108 | - host: ${_param:opencontrail_message_queue_node01_address} |
| 109 | - host: ${_param:opencontrail_message_queue_node02_address} |
| 110 | - host: ${_param:opencontrail_message_queue_node03_address} |
| 111 | database: |
| 112 | members: |
| 113 | - host: ${_param:cluster_node01_address} |
| 114 | - host: ${_param:cluster_node02_address} |
| 115 | - host: ${_param:cluster_node03_address} |
| 116 | discovery: |
| 117 | host: None |
| 118 | web: |
| 119 | config_only: true |
| 120 | analytics: |
| 121 | host: ${_param:opencontrail_control_address} |
| 122 | cache: |
| 123 | host: 127.0.0.1 |
| 124 | identity: |
| 125 | host: ${_param:openstack_control_address} |
| 126 | database: |
| 127 | port: 9041 |
| 128 | network: |
| 129 | host: ${_param:openstack_control_address} |