##############################################################################
# Copyright (c) 2019 opnfv.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---
yardstick.ha.haproxy:
  name: yardstick.ha.haproxy
  objective: >
    This test case will verify the high availability of the load balance
    service(current is HAProxy) that supports OpenStack on controller node. When the
    load balance service of a specified controller node is killed, whether other
    load balancers on other controller nodes will work, and whether the controller node
    will restart the load balancer are checked.
  validate:
    type: yardstick
    testcase: opnfv_yardstick_tc053
  report:
    source_archive_files:
      - yardstick.log
      - yardstick.ha.haproxy.out
    dest_archive_files:
      - ha_logs/yardstick.ha.haproxy.log
      - ha_logs/yardstick.ha.haproxy.out
    check_results_files:
      - ha_logs/yardstick.ha.haproxy.out
    portal_key_file: ha_logs/yardstick.ha.haproxy.log
    sub_testcase_list: