Unify PROX testcases TG and VNF names
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_baremetal_vpe-4.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 ---
16 schema: "yardstick:task:0.1"
17
18 scenarios:
19 -
20   type: NSPerf
21   traffic_profile: ../../traffic_profiles/prox_vpe.yaml
22   topology: prox-tg-topology-4.yaml
23
24   nodes:
25     tg__0: trafficgen_0.yardstick
26     vnf__0: vnf_0.yardstick
27
28   options:
29     vnf__0:
30       collectd:
31         interval: 1
32       prox_path: /opt/nsb_bin/prox
33       prox_config: "configs/handle_vpe-4.cfg"
34       prox_args:
35         "-t": ""
36       prox_files:
37         "configs/vpe_ipv4.lua" : ""
38         "configs/vpe_dscp.lua" : ""
39         "configs/vpe_cpe_table.lua" : ""
40         "configs/vpe_user_table.lua" : ""
41         "configs/vpe_rules.lua" : ""
42       prox_generate_parameter: True
43
44     tg__0:
45       collectd:
46         interval: 1
47       prox_path: /opt/nsb_bin/prox
48       prox_config: "configs/gen_vpe-4.cfg"
49       prox_args:
50         "-e": ""
51         "-t": ""
52
53   runner:
54     type: ProxDuration
55     # we kill after duration, independent of test duration, so set this high
56     duration: 2900
57     confirmation: 1
58     sampled: yes
59     interval: 1
60
61 context:
62   type: Node
63   name: yardstick
64   nfvi_type: baremetal
65   file: prox-baremetal-4.yaml