diff options
author | rexlee8776 <limingjiang@huawei.com> | 2018-06-14 03:35:46 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2018-06-15 08:39:23 +0000 |
commit | 21fbf034c2f000448fea7e1ad0ae17f80485956b (patch) | |
tree | c05c4835cb73782033c2cb52fb8b1b87d465ecd9 /tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml | |
parent | a3399d07b83ce0e50d9c0144d00a7ba83a73390f (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_tc072.yaml')
-rw-r--r-- | tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml index 09930d442..d237fa92a 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc072.yaml @@ -97,7 +97,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 %} |