the recovery action of "baremetal down" should be triggered mandatory 41/61141/1
authorrexlee8776 <limingjiang@huawei.com>
Tue, 24 Jul 2018 04:17:45 +0000 (04:17 +0000)
committerRex Lee <limingjiang@huawei.com>
Tue, 21 Aug 2018 01:57:37 +0000 (01:57 +0000)
commite3eb9c69d91d4fff2cd0ccf6433fd69162973956
tree981eb80901052055e4cae5ee19c2192cf4508061
parentbd5e7473199c3ff00ce212a635453cc938387a92
the recovery action of "baremetal down" should be triggered mandatory

YARDSTICK-1222 has made attacker recover only when the sla not pass.
But for baremetal down test case, the node need to power on even the sla pass.

TODO:
Make attacker can support mandatory recover in some situation.

JIRA: YARDSTICK-1337

Change-Id: Ib567b9b9025e5ee421ea47140c468537ad16f090
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 5f11cb9f55aa0529fddfe916a2976a9aa5b4c08f)
yardstick/benchmark/scenarios/availability/attacker/attacker_baremetal.py
yardstick/benchmark/scenarios/availability/attacker/baseattacker.py
yardstick/benchmark/scenarios/availability/serviceha.py
yardstick/tests/unit/benchmark/scenarios/availability/test_baseattacker.py [new file with mode: 0644]
yardstick/tests/unit/benchmark/scenarios/availability/test_serviceha.py