From 21fbf034c2f000448fea7e1ad0ae17f80485956b Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Thu, 14 Jun 2018 03:35:46 +0000 Subject: Bugfix: heat conext of test case yamls jinja2 bypass sriov type the "if provider" condition bypass when provider = "sriov", related to https://gerrit.opnfv.org/gerrit/#/c/32789/ networks: test: cidr: '10.0.1.0/24' {% if provider == "vlan" %} provider: {{provider}} physical_network: {{physical_network}} {% if segmentation_id %} segmentation_id: {{segmentation_id}} {% endif %} {% endif %} JIRA: YARDSTICK-1242 Change-Id: I6a611e839654f401648d9bd6188589816f7b4946 Signed-off-by: rexlee8776 --- tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml') diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml index 3c5f72d5a..cefa50541 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc009.yaml @@ -64,7 +64,7 @@ context: networks: test: cidr: '10.0.1.0/24' - {% if provider == "vlan" %} + {% if provider == "vlan" or provider == "sriov" %} provider: {{provider}} physical_network: {{physical_network}} {% if segmentation_id %} -- cgit 1.2.3-korg