Merge "prox: fix TG KPIs"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_l2fwd-4-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__0: tg_0.yardstick
26     vnf__0: vnf_0.yardstick
27
28   options:
29     vnf__0:
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__0:
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: Search
46     interval: 5
47     timeout: 300
48
49 -
50   type: NSPerf
51   traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
52   topology: prox-tg-topology-4.yaml
53
54   nodes:
55     tg__0: tg_0.yardstick
56     vnf__0: vnf_0.yardstick
57
58   options:
59     vnf__0:
60       prox_path: /root/dppd-PROX-v037/build/prox
61       prox_config: "configs/handle_l2fwd-4.cfg"
62       prox_args:
63         "-t": ""
64
65     tg__0:
66       prox_path: /root/dppd-PROX-v037/build/prox
67       prox_config: "configs/gen_l2fwd-4.cfg"
68       prox_args:
69         "-e": ""
70         "-t": ""
71
72   runner:
73     type: Search
74     interval: 5
75     timeout: 300
76
77 context:
78   name: yardstick
79   image: yardstick-samplevnfs
80   user: ubuntu
81   flavor: yardstick-dpdk-flavor
82 #  flavor:
83 #    vcpus: 10
84 #    ram: 20480
85 #    disk: 4
86 #    extra_specs:
87 #      hw:cpu_sockets: 1
88 #      hw:cpu_cores: 10
89 #      hw:cpu_threads: 1
90   placement_groups:
91     pgrp1:
92       policy: "availability"
93
94   servers:
95     vnf_0:
96       floating_ip: true
97       placement: "pgrp1"
98     tg_0:
99       floating_ip: true
100       placement: "pgrp1"
101
102   networks:
103     mgmt:
104       cidr: '10.0.1.0/24'
105     uplink_0:
106       cidr: '10.0.2.0/24'
107       allowed_address_pairs:
108         - ip_address:
109             '0.0.0.0/0'
110     downlink_0:
111       cidr: '10.0.3.0/24'
112       allowed_address_pairs:
113         - ip_address:
114             '0.0.0.0/0'
115     uplink_1:
116       cidr: '10.0.4.0/24'
117       allowed_address_pairs:
118         - ip_address:
119             '0.0.0.0/0'
120     downlink_1:
121       cidr: '10.0.5.0/24'
122       allowed_address_pairs:
123         - ip_address:
124             '0.0.0.0/0'