Merge "Unify PROX testcases TG and VNF names"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_baremetal_irq.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 description: >
18         This test queries the PROX IRQ Statistics on the GEN and VNF. The KPIs
19         returned are the Maximium IRQ per core and the IRQs per second per
20         core.
21
22 scenarios:
23 -
24   type: NSPerf
25   traffic_profile: ../../traffic_profiles/prox_irq.yaml
26   topology: prox-tg-topology-0.yaml
27
28   nodes:
29     tg__0: trafficgen_0.yardstick
30     vnf__0: vnf_0.yardstick
31
32   options:
33     vnf__0:
34       prox_path: /opt/nsb_bin/prox
35       prox_config: "configs/irq2.cfg"
36       prox_args:
37         "-t": ""
38     tg__0:
39       prox_path: /opt/nsb_bin/prox
40       prox_config: "configs/irq2.cfg"
41       prox_args:
42         "-t": ""
43
44   runner:
45     type: ProxDuration
46     # sampling interval
47     interval: 1
48     # sampled : yes OR sampled: no (DEFAULT yes)
49     sampled: yes
50     # we kill after duration, independent of test duration, so set this high
51     duration: 3100
52     # Confirmation attempts
53     confirmation: 1
54
55 context:
56   type: Node
57   name: yardstick
58   nfvi_type: baremetal
59   file: prox-irq-baremetal.yaml