BugFix: Fix to pod filename ext and prox path
[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: /opt/nsb_bin/prox
31       prox_config: "configs/handle_l2fwd-2.cfg"
32       prox_args:
33         "-t": ""
34
35     tg__0:
36       prox_path: /opt/nsb_bin/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 -
49   type: NSPerf
50   traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
51   topology: prox-tg-topology-2.yaml
52
53   nodes:
54     tg__0: tg_0.yardstick
55     vnf__0: vnf_0.yardstick
56
57   options:
58     vnf__0:
59       prox_path: /opt/nsb_bin/prox
60       prox_config: "configs/handle_l3fwd-2.cfg"
61       prox_args:
62         "-t": ""
63       prox_files:
64         "configs/ipv4.lua" : ""
65
66     tg__0:
67       prox_path: /opt/nsb_bin/prox
68       prox_config: "configs/gen_l3fwd-2.cfg"
69       prox_args:
70         "-e": ""
71         "-t": ""
72
73   runner:
74     type: Search
75     # we kill after duration, independent of test duration, so set this high
76     interval: 5
77     timeout: 300
78
79 context:
80   name: yardstick
81   image: yardstick-samplevnfs
82   user: ubuntu
83   flavor:
84     vcpus: 10
85     ram: 20480
86     disk: 6
87     extra_specs:
88       hw:cpu_sockets: 1
89       hw:cpu_cores: 10
90       hw:cpu_threads: 1
91
92   placement_groups:
93     pgrp1:
94       policy: "availability"
95
96   servers:
97     vnf_0:
98       floating_ip: true
99       placement: "pgrp1"
100     tg_0:
101       floating_ip: true
102       placement: "pgrp1"
103
104   networks:
105     mgmt:
106       cidr: '10.0.1.0/24'
107     uplink_0:
108       cidr: '10.0.2.0/24'
109       gateway_ip: 'null'
110       port_security_enabled: False
111       enable_dhcp: 'false'
112     downlink_0:
113       cidr: '10.0.3.0/24'
114       gateway_ip: 'null'
115       port_security_enabled: False
116       enable_dhcp: 'false'