aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2018-06-14 03:35:46 +0000
committerrexlee8776 <limingjiang@huawei.com>2018-06-15 08:39:23 +0000
commit21fbf034c2f000448fea7e1ad0ae17f80485956b (patch)
treec05c4835cb73782033c2cb52fb8b1b87d465ecd9 /tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
parenta3399d07b83ce0e50d9c0144d00a7ba83a73390f (diff)
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 <limingjiang@huawei.com>
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
index 3622b40d7..a6cf6a292 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc037.yaml
@@ -95,7 +95,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 %}