NSB NFVi PROX Missing VNF Statistics for CPU Utilization
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_baremetal_lb-4.yaml
1 # Copyright (c) 2016-2017 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
22   # This is a special traffic profile for Load Balancer
23   # Because what is transmitted for 1 port is distributed to the other ports evenly
24   # Only 1/4 of the transmiited packets is expected back. So this tolerates a much
25   # packet loss. 
26   traffic_profile: ../../traffic_profiles/prox_lb.yaml
27   topology: prox-tg-topology-4.yaml
28
29   nodes:
30     tg__0: tg_0.yardstick
31     vnf__0: vnf_0.yardstick
32
33   options:
34     vnf__0:
35       collectd:
36         interval: 1
37       prox_path: /opt/nsb_bin/prox
38       prox_config: "configs/handle_lb-4.cfg"
39       prox_args:
40         "-t": ""
41       prox_files:
42         "configs/tuples.lua": ""
43
44     tg__0:
45       collectd:
46         interval: 1
47       prox_path: /opt/nsb_bin/prox
48       prox_config: "configs/gen_lb-4.cfg"
49       prox_args:
50         "-e": ""
51         "-t": ""
52
53   runner:
54     type: Duration
55     # we kill after duration, independent of test duration, so set this high
56     duration: 300
57
58 context:
59   type: Node
60   name: yardstick
61   nfvi_type: baremetal
62   file: prox-baremetal-4.yaml