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