Merge "Addition of IRQ Mode to NSB NFVI (PROX)"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_baremetal_irq.yaml
1 # Copyright (c) 2016-2018 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: tg_0.yardstick
30     vnf__0: vnf_0.yardstick
31
32   options:
33
34     vnf__0:
35       prox_path: /opt/nsb_bin/prox
36       prox_config: "configs/irq2.cfg"
37       prox_args:
38         "-t": ""
39
40     tg__0:
41       prox_path: /opt/nsb_bin/prox
42       prox_config: "configs/irq2.cfg"
43       prox_args:
44         "-t": ""
45
46
47   runner:
48     type: ProxDuration
49     # sampling interval
50     interval: 1
51     # sampled : yes OR sampled: no (DEFAULT yes)
52     sampled: yes
53     # we kill after duration, independent of test duration, so set this high
54     duration: 3100
55     # Confirmation attempts
56     confirmation: 1
57
58 context:
59   type: Node
60   name: yardstick
61   nfvi_type: baremetal
62   file: prox-irq-baremetal.yaml