| classes: |
| - service.haproxy.proxy.single |
| - service.opencontrail.control.cluster |
| - system.haproxy.proxy.listen.opencontrail.control4_0 |
| - system.haproxy.proxy.listen.opencontrail.analytics |
| parameters: |
| _param: |
| opencontrail_kafka_log_cleanup_mtime: '+7' |
| opencontrail_kafka_log_cleanup_dir: '/usr/share/kafka/logs/' |
| opencontrail_version: 4.0 |
| linux_repo_contrail_component: oc40 |
| opencontrail_image_tag: latest |
| opencontrail_message_queue_node01_address: ${_param:openstack_control_node01_address} |
| opencontrail_message_queue_node02_address: ${_param:openstack_control_node02_address} |
| opencontrail_message_queue_node03_address: ${_param:openstack_control_node03_address} |
| opencontrail_message_queue_address: ${_param:openstack_control_address} |
| opencontrail_analytics_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analytics:${_param:opencontrail_image_tag} |
| opencontrail_analyticsdb_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-analyticsdb:${_param:opencontrail_image_tag} |
| opencontrail_controller_image: ${_param:mcp_docker_registry}/opencontrail-${_param:linux_repo_contrail_component}/opencontrail-controller:${_param:opencontrail_image_tag} |
| opencontrail_controller_container_name: opencontrail_controller_1 |
| opencontrail_analytics_container_name: opencontrail_analytics_1 |
| opencontrail_analyticsdb_container_name: opencontrail_analyticsdb_1 |
| opencontrail_api_workers_count: 6 |
| analytics_vip_address: ${_param:opencontrail_analytics_address} |
| # Temprorary fix for MOS9 packages to pin old version of kafka |
| linux: |
| system: |
| kernel: |
| modules: |
| - nf_conntrack_ipv4 |
| job: |
| kafka_logs_cleanup: |
| command: "find ${_param:opencontrail_kafka_log_cleanup_dir} -name '*.log.*' -type f -mtime ${_param:opencontrail_kafka_log_cleanup_mtime} -exec rm {} \\;" |
| identifier: kafka_logs_cleanup |
| hour: 0 |
| minute: 0 |
| opencontrail: |
| common: |
| config_only: true |
| identity: |
| host: ${_param:openstack_control_address} |
| network: |
| host: ${_param:openstack_control_address} |
| collector: |
| config_only: true |
| discovery: |
| host: None |
| analytics: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| message_queue: |
| host: ${_param:opencontrail_message_queue_address} |
| members: |
| - host: ${_param:opencontrail_message_queue_node01_address} |
| - host: ${_param:opencontrail_message_queue_node02_address} |
| - host: ${_param:opencontrail_message_queue_node03_address} |
| config: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| database: |
| config_only: true |
| discovery: |
| host: None |
| analytics: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| config: |
| config_only: true |
| network: |
| host: ${_param:openstack_control_address} |
| bind: |
| address: ${_param:cluster_local_address} |
| discovery: |
| host: None |
| api: |
| host: ${_param:opencontrail_control_address} |
| workers_count: ${_param:opencontrail_api_workers_count} |
| analytics: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| message_queue: |
| members: |
| - host: ${_param:opencontrail_message_queue_node01_address} |
| - host: ${_param:opencontrail_message_queue_node02_address} |
| - host: ${_param:opencontrail_message_queue_node03_address} |
| identity: |
| region: ${_param:openstack_region} |
| host: ${_param:openstack_control_address} |
| control: |
| config_only: true |
| identity: |
| host: ${_param:openstack_control_address} |
| analytics: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| message_queue: |
| members: |
| - host: ${_param:opencontrail_message_queue_node01_address} |
| - host: ${_param:opencontrail_message_queue_node02_address} |
| - host: ${_param:opencontrail_message_queue_node03_address} |
| database: |
| members: |
| - host: ${_param:cluster_node01_address} |
| - host: ${_param:cluster_node02_address} |
| - host: ${_param:cluster_node03_address} |
| discovery: |
| host: None |
| web: |
| config_only: true |
| analytics: |
| host: ${_param:opencontrail_control_address} |
| cache: |
| host: 127.0.0.1 |
| identity: |
| host: ${_param:openstack_control_address} |
| database: |
| port: 9041 |
| network: |
| host: ${_param:openstack_control_address} |