af98984b68a152be10b5aa2a018e76231b3bfb4e
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_l2fwd-2-l3fwd-2.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-2.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/build/prox
31       prox_config: "configs/handle_l2fwd-2.cfg"
32       prox_args:
33         "-t": ""
34
35     tg__0:
36       prox_path: /root/dppd-PROX-v037/build/prox
37       prox_config: "configs/gen_l2fwd-2.cfg"
38       prox_args:
39         "-e": ""
40         "-t": ""
41
42   runner:
43     type: Search
44     # we kill after duration, independent of test duration, so set this high
45     interval: 5
46     timeout: 300
47 -
48   type: NSPerf
49   traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
50   topology: prox-tg-topology-2.yaml
51
52   nodes:
53     tg__0: tg_0.yardstick
54     vnf__0: vnf_0.yardstick
55
56   options:
57     vnf__0:
58       prox_path: /root/dppd-PROX-v037.1/build/prox
59       prox_config: "configs/handle_l3fwd-2.cfg"
60       prox_args:
61         "-t": ""
62       prox_files:
63         "configs/ipv4-2.lua" : ""
64
65     tg__0:
66       prox_path: /root/dppd-PROX-v037.1/build/prox
67       prox_config: "configs/gen_l3fwd-2.cfg"
68       prox_args:
69         "-e": ""
70         "-t": ""
71
72   runner:
73     type: Search
74     # we kill after duration, independent of test duration, so set this high
75     interval: 5
76     timeout: 300
77
78 context:
79   name: yardstick
80   image: yardstick-samplevnfs
81   user: ubuntu
82   flavor: yardstick-dpdk-flavor
83 #  flavor:
84 #    vcpus: 10
85 #    ram: 12288
86 #    disk: 6
87 #    extra_specs:
88 #      hw:cpu_sockets: 1
89 #      hw:cpu_cores: 10
90 #      hw:cpu_threads: 1
91   placement_groups:
92     pgrp1:
93       policy: "availability"
94
95   servers:
96     vnf_0:
97       floating_ip: true
98       placement: "pgrp1"
99     tg_0:
100       floating_ip: true
101       placement: "pgrp1"
102
103   networks:
104     mgmt:
105       cidr: '10.0.1.0/24'
106     uplink_0:
107       cidr: '10.1.1.0/24'
108       allowed_address_pairs:
109         - ip_address:
110             '0.0.0.0/0'
111     downlink_0:
112       cidr: '10.1.1.0/24'
113       allowed_address_pairs:
114         - ip_address:
115             '0.0.0.0/0'