diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-05-04 09:31:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-04 09:31:25 +0000 |
commit | c337eff097139516b0bb2827bdb308e32416861e (patch) | |
tree | 149d335931dffd39c4b65a5a0bd233f4ef480ec9 /tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml | |
parent | a34afb31bd142a798ba2c4b4ceb125cf74274dc8 (diff) | |
parent | 27cc0643cf93f4b44c12fbdfcc3e0841d46214c4 (diff) |
Merge "Modify HA test cases and HA test script to support other installers"
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml')
-rw-r--r-- | tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml index b1dc31e90..1296c0592 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc050.yaml @@ -14,6 +14,10 @@ description: > This test case is written by new scenario-based HA testing framework. {% set file = file or 'etc/yardstick/nodes/fuel_baremetal/pod.yaml' %} +{% set external_net = external_net or 'br-ex' %} +{% set management_net = management_net or 'br-mgmt' %} +{% set storage_net = storage_net or 'br-storage' %} +{% set internal_net = internal_net or 'br-mesh' %} scenarios: - @@ -26,9 +30,9 @@ scenarios: key: "close-br-public" attack_key: "close-interface" action_parameter: - interface: "br-ex" + interface: {{external_net}} rollback_parameter: - interface: "br-ex" + interface: {{external_net}} - fault_type: "general-attacker" @@ -36,9 +40,9 @@ scenarios: key: "close-br-mgmt" attack_key: "close-interface" action_parameter: - interface: "br-mgmt" + interface: {{management_net}} rollback_parameter: - interface: "br-mgmt" + interface: {{management_net}} - fault_type: "general-attacker" @@ -46,9 +50,9 @@ scenarios: key: "close-br-storage" attack_key: "close-interface" action_parameter: - interface: "br-storage" + interface: {{storage_net}} rollback_parameter: - interface: "br-storage" + interface: {{storage_net}} - fault_type: "general-attacker" @@ -56,9 +60,9 @@ scenarios: key: "close-br-private" attack_key: "close-interface" action_parameter: - interface: "br-mesh" + interface: {{internal_net}} rollback_parameter: - interface: "br-mesh" + interface: {{internal_net}} monitors: - |