05723cab3a6a64567559e224d613d8c164290a8f
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_l2fwd_pktTouch-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: /opt/nsb_bin/prox
31       prox_config: "configs/handle_l2fwd_pktTouch-4.cfg"
32       prox_args:
33         "-t": ""
34
35     tg__0:
36       prox_path: /opt/nsb_bin/prox
37       prox_config: "configs/gen_l2fwd_pktTouch-4.cfg"
38       prox_args:
39         "-e": ""
40         "-t": ""
41
42   runner:
43     type: Duration
44     # we kill after duration, independent of test duration, so set this high
45     duration: 300
46
47 context:
48   name: yardstick
49   image: yardstick-samplevnfs
50   user: ubuntu
51   flavor:
52     vcpus: 10
53     ram: 20480
54     disk: 6
55     extra_specs:
56       hw:cpu_sockets: 1
57       hw:cpu_cores: 10
58       hw:cpu_threads: 1
59   placement_groups:
60     pgrp1:
61       policy: "availability"
62
63   servers:
64     vnf_0:
65       floating_ip: true
66       placement: "pgrp1"
67     tg_0:
68       floating_ip: true
69       placement: "pgrp1"
70
71   networks:
72     mgmt:
73       cidr: '10.0.1.0/24'
74     uplink_0:
75       cidr: '10.0.2.0/24'
76       gateway_ip: 'null'
77       port_security_enabled: False
78       enable_dhcp: 'false'
79     downlink_0:
80       cidr: '10.0.3.0/24'
81       gateway_ip: 'null'
82       port_security_enabled: False
83       enable_dhcp: 'false'
84     downlink_1:
85       cidr: '10.0.4.0/24'
86       gateway_ip: 'null'
87       port_security_enabled: False
88       enable_dhcp: 'false'
89     downlink_2:
90       cidr: '10.0.5.0/24'
91       gateway_ip: 'null'
92       port_security_enabled: False
93       enable_dhcp: 'false'