diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2018-03-01 15:11:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-01 15:11:20 +0000 |
commit | 9de51168387bb836e4da6b0dea2ebec6d8b27ed9 (patch) | |
tree | c40cb6a5f6d6be4d05c11c743ed808364c3a40d7 /docs/submodules/calipso | |
parent | e825a2f5bcba8dbaf68577d9b2a38634927973db (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Add arguments to the traffic profile render"
- Add arguments to the traffic profile render
In order to render configurable traffic profiles in NSB test cases,
a new variable is introduced: "extra_arg". The content of
this variable is added to the VNFD render data, under a key called
"extra_args".
This will allow the user to define Jinja templates for traffic profiles.
E.g.:
$ cat test_case_definition.yml
scenarios:
- type: NSPerf
traffic_profile: traffic_profile.yml
extra_args:
vports: 10
$ cat traffic_profile.yml
{% set vports = get(extra_args, 'vports', '0') or 4 %}
{% for vport in range(vports|int) %}
uplink_{{vport}}:
data...
{% endfor %}
JIRA: YARDSTICK-946
Change-Id: Ib3c1f2d89efa012772edf2156e97d5f4742a6b80
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'docs/submodules/calipso')
0 files changed, 0 insertions, 0 deletions