6f95cc96798e6e7d1f7eae1b812ea60f02c5b383
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_l2fwd-4-l3fwd-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: trafficgen_0.yardstick
26     vnf__0: vnf_0.yardstick
27
28   options:
29     vnf__0:
30       prox_path: /opt/nsb_bin/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: /opt/nsb_bin/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: trafficgen_0.yardstick
56     vnf__0: vnf_0.yardstick
57
58   options:
59     vnf__0:
60       prox_path: /opt/nsb_bin/prox
61       prox_config: "configs/handle_l2fwd-4.cfg"
62       prox_args:
63         "-t": ""
64
65     tg__0:
66       prox_path: /opt/nsb_bin/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:
82     vcpus: 10
83     ram: 20480
84     disk: 6
85     extra_specs:
86       hw:cpu_sockets: 1
87       hw:cpu_cores: 10
88       hw:cpu_threads: 1
89   placement_groups:
90     pgrp1:
91       policy: "availability"
92
93   servers:
94     vnf_0:
95       floating_ip: true
96       placement: "pgrp1"
97     trafficgen_0:
98       floating_ip: true
99       placement: "pgrp1"
100
101   networks:
102     mgmt:
103       cidr: '10.0.1.0/24'
104     uplink_0:
105       cidr: '10.0.2.0/24'
106       gateway_ip: 'null'
107       port_security_enabled: False
108       enable_dhcp: 'false'
109     downlink_0:
110       cidr: '10.0.3.0/24'
111       gateway_ip: 'null'
112       port_security_enabled: False
113       enable_dhcp: 'false'
114     uplink_1:
115       cidr: '10.0.4.0/24'
116       gateway_ip: 'null'
117       port_security_enabled: False
118       enable_dhcp: 'false'
119     downlink_1:
120       cidr: '10.0.5.0/24'
121       gateway_ip: 'null'
122       port_security_enabled: False
123       enable_dhcp: 'false'