NSB NFVi PROX Missing VNF Statistics for CPU Utilization
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_bng_qos-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   traffic_profile: ../../traffic_profiles/prox_bng.yaml
22   topology: prox-tg-topology-4.yaml
23
24   nodes:
25     tg__0: tg_0.yardstick
26     vnf__0: vnf_0.yardstick
27
28   options:
29
30     interface_speed_gbps: 10
31
32     vnf__0:
33       collectd:
34         interval: 1
35       prox_path: /opt/nsb_bin/prox
36       prox_config: "configs/handle_bng_qos-4.cfg"
37       prox_args:
38         "-t": ""
39       prox_files:
40         "configs/gre_table.lua" : ""
41         "configs/ipv4_bng.lua" : ""
42         "configs/dscp.lua" : ""
43       prox_generate_parameter: True
44
45     tg__0:
46       collectd:
47         interval: 1
48       prox_path: /opt/nsb_bin/prox
49       prox_config: "configs/gen_bng_qos-4.cfg"
50       prox_args:
51         "-e": ""
52         "-t": ""
53
54   runner:
55     type: Duration
56     # we kill after duration, independent of test duration, so set this high
57     duration: 1600
58
59 context:
60   name: yardstick
61   image: yardstick-samplevnfs
62   user: ubuntu
63   flavor:
64     vcpus: 20
65     ram: 20480
66     disk: 6
67     extra_specs:
68       hw:cpu_sockets: 1
69       hw:cpu_cores: 20
70       hw:cpu_threads: 1
71
72   placement_groups:
73     pgrp1:
74       policy: "availability"
75
76   servers:
77     vnf_0:
78       floating_ip: true
79       placement: "pgrp1"
80     tg_0:
81       floating_ip: true
82       placement: "pgrp1"
83
84   networks:
85     mgmt:
86       cidr: '10.0.1.0/24'
87     uplink_0:
88       cidr: '10.0.2.0/24'
89       gateway_ip: 'null'
90       port_security_enabled: False
91       enable_dhcp: 'false'
92     downlink_0:
93       cidr: '10.0.3.0/24'
94       gateway_ip: 'null'
95       port_security_enabled: False
96       enable_dhcp: 'false'
97     uplink_1:
98       cidr: '10.0.4.0/24'
99       gateway_ip: 'null'
100       port_security_enabled: False
101       enable_dhcp: 'false'
102     downlink_1:
103       cidr: '10.0.5.0/24'
104       gateway_ip: 'null'
105       port_security_enabled: False
106       enable_dhcp: 'false'