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