Merge "testcase: add rate parameter for spec cpu 2006"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_l3fwd-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_binsearch.yaml
22   topology: prox-tg-topology-4.yaml
23
24   nodes:
25     tg__1: trafficgen_1.yardstick
26     vnf__1: vnf.yardstick
27
28   options:
29     vnf__1:
30       prox_path: /root/dppd-PROX-v037.1/build/prox
31       prox_config: "configs/handle_l3fwd-4.cfg"
32       prox_args:
33         "-t": ""
34       prox_files:
35         "configs/ipv4.lua" : ""
36
37     tg__1:
38       prox_path: /root/dppd-PROX-v037.1/build/prox
39       prox_config: "configs/gen_l3fwd-4.cfg"
40       prox_args:
41         "-e": ""
42         "-t": ""
43
44   runner:
45     type: Duration
46     # we kill after duration, independent of test duration, so set this high
47     duration: 200
48
49 context:
50   name: yardstick
51   image: yardstick-samplevnfs
52   user: ubuntu
53   flavor:
54     vcpus: 10
55     ram: 20480
56     disk: 4
57     extra_specs:
58       hw:cpu_sockets: 1
59       hw:cpu_cores: 10
60       hw:cpu_threads: 1
61
62   placement_groups:
63     pgrp1:
64       policy: "availability"
65
66   servers:
67     vnf:
68       floating_ip: true
69       placement: "pgrp1"
70     trafficgen_1:
71       floating_ip: true
72       placement: "pgrp1"
73
74   networks:
75     mgmt:
76       cidr: '10.0.1.0/24'
77       external_network: "yardstick-public"
78     xe0:
79       cidr: '10.0.2.0/24'
80       vld_id: public
81       allowed_address_pairs:
82         - ip_address:
83             '0.0.0.0/0'
84     xe1:
85       cidr: '10.0.3.0/24'
86       vld_id: private
87       allowed_address_pairs:
88         - ip_address:
89             '0.0.0.0/0'
90     xe2:
91       cidr: '10.0.4.0/24'
92       vld_id: public
93       allowed_address_pairs:
94         - ip_address:
95             '0.0.0.0/0'
96     xe3:
97       cidr: '10.0.5.0/24'
98       vld_id: private
99       allowed_address_pairs:
100         - ip_address:
101             '0.0.0.0/0'