Unify PROX testcases TG and VNF names
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_baremetal_l2fwd-scale-up.yaml
1 # Copyright (c) 2016-2019 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 {% set vports = vports or 2 %}
16 {% set underscore = '_' if type %}
17 {% set type = type or '' %} # type: {'', 'multiflow', 'pktTouch'}
18 {% set duration = duration or 300 %}
19 ---
20 schema: "yardstick:task:0.1"
21
22 scenarios:
23 -
24   type: NSPerf
25   traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
26   extra_args:
27     vports: {{ vports }}
28   topology: prox-tg-topology-scale-up.yaml
29
30   nodes:
31     tg__0: trafficgen_0.yardstick
32     vnf__0: vnf_0.yardstick
33
34   options:
35     vnf__0:
36       prox_path: /opt/nsb_bin/prox
37       prox_config: "configs/handle_l2fwd{{ underscore }}{{ type }}-{{ vports }}.cfg"
38       prox_args:
39         "-t": ""
40
41     tg__0:
42       prox_path: /opt/nsb_bin/prox
43       prox_config: "configs/gen_l2fwd{{ underscore }}{{ type }}-{{ vports }}.cfg"
44       prox_args:
45         "-e": ""
46         "-t": ""
47
48   runner:
49     type: Duration
50     # we kill after duration, independent of test duration, so set this high
51     duration: {{ duration }}
52
53 context:
54   type: Node
55   name: yardstick
56   nfvi_type: baremetal
57   file: prox-baremetal-{{ vports }}.yaml