Merge "Extend IXIA RFC2544 test case collected stats"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_buffering-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_binsearch.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     interface_speed_gbps: 10
30
31     traffic_config:
32       tolerated_loss: 0.1
33       test_precision: 0.01
34  
35     vnf__0:
36       collectd:
37         interval: 1
38       prox_path: /opt/nsb_bin/prox
39       prox_config: "configs/handle_buffering-4.cfg"
40       prox_args:
41         "-t": ""
42
43     tg__0:
44       collectd:
45         interval: 1
46       prox_path: /opt/nsb_bin/prox
47       prox_config: "configs/gen_buffering-4.cfg"
48       prox_args:
49         "-e": ""
50         "-t": ""
51
52   runner:
53     type: ProxDuration
54     # sampling interval
55     interval: 1
56     # sampled : yes OR sampled: no (DEFAULT yes)
57     sampled: yes
58     # we kill after duration, independent of test duration, so set this high
59     duration: 4000
60     # Confirmation attempts
61     confirmation: 1
62
63 context:
64   name: yardstick
65   image: yardstick-samplevnfs
66   user: ubuntu
67   flavor:
68     vcpus: 32
69     ram: 20480
70     disk: 6
71     extra_specs:
72       hw:cpu_sockets: 1
73       hw:cpu_cores: 32
74       hw:cpu_threads: 1
75
76   placement_groups:
77     pgrp1:
78       policy: "availability"
79
80   servers:
81     vnf_0:
82       floating_ip: true
83       placement: "pgrp1"
84     tg_0:
85       floating_ip: true
86       placement: "pgrp1"
87
88   networks:
89     mgmt:
90       cidr: '10.0.1.0/24'
91     uplink_0:
92       cidr: '10.0.2.0/24'
93       gateway_ip: 'null'
94       port_security_enabled: False
95       enable_dhcp: 'false'
96     downlink_0:
97       cidr: '10.0.3.0/24'
98       gateway_ip: 'null'
99       port_security_enabled: False
100       enable_dhcp: 'false'
101     uplink_1:
102       cidr: '10.0.4.0/24'
103       gateway_ip: 'null'
104       port_security_enabled: False
105       enable_dhcp: 'false'
106     downlink_1:
107       cidr: '10.0.5.0/24'
108       gateway_ip: 'null'
109       port_security_enabled: False
110       enable_dhcp: 'false'