Merge "prox: use find_relative_file when uploading"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_lb-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_lb.yaml
22   topology: prox-tg-topology-4.yaml
23
24   nodes:
25     tg__0: trafficgen_1.yardstick
26     vnf__0: vnf.yardstick
27
28   options:
29     vnf__0:
30       prox_path: /root/dppd-PROX-v037.1/build/prox
31       prox_config: "configs/handle_lb-4.cfg"
32       prox_args:
33         "-t": ""
34       prox_files:
35         "configs/tuples.lua": ""
36
37     tg__0:
38       prox_path: /root/dppd-PROX-v037.1/build/prox
39       prox_config: "configs/gen_lb-4.cfg"
40       prox_args:
41         "-e": ""
42         "-t": ""
43
44   runner:
45     type: Duration
46     # we kill after duration, independent of test duration, so set this high
47     duration: 300
48
49 context:
50   name: yardstick
51   image: yardstick-samplevnfs
52   user: ubuntu
53   flavor:
54     vcpus: 12
55     ram: 40960
56     disk: 4
57     extra_specs:
58       hw:cpu_sockets: 1
59       hw:cpu_cores: 12
60       hw:cpu_threads: 1
61   
62   placement_groups:
63     pgrp1:
64       policy: "availability"
65
66   servers:
67     vnf:
68       floating_ip: true
69       placement: "pgrp1"
70     trafficgen_1:
71       floating_ip: true
72       placement: "pgrp1"
73
74   networks:
75     mgmt:
76       cidr: '10.1.1.0/24'
77     xe0:
78       cidr: '10.2.1.0/24'
79       vld_id: downlink
80       allowed_address_pairs:
81         - ip_address:
82             '0.0.0.0/0'
83     xe1:
84       cidr: '10.2.1.0/24'
85       vld_id: uplink
86       allowed_address_pairs:
87         - ip_address:
88             '0.0.0.0/0'
89     xe2:
90       cidr: '10.2.1.0/24'
91       vld_id: downlink
92       allowed_address_pairs:
93         - ip_address:
94             '0.0.0.0/0'
95     xe3:
96       cidr: '10.2.1.0/24'
97       vld_id: uplink
98       allowed_address_pairs:
99         - ip_address:
100             '0.0.0.0/0'
101