BugFix: Fix to pod filename ext and prox path
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / tc_heat_rfc2544_ipv4_1flow_64B_trex.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 scenarios:
18 - type: NSPerf
19   traffic_profile: ../../traffic_profiles/ipv4_throughput_cgnapt.yaml
20   topology: cgnapt-vnf-topology.yaml
21   nodes:
22     tg__0: trafficgen_1.yardstick
23     vnf__0: vnf.yardstick
24   options:
25     framesize:
26       uplink: {64B: 100}
27       downlink: {64B: 100}
28     flow:
29       src_ip: [{'tg__0': 'xe0'}]
30       dst_ip: [{'tg__0': 'xe1'}]
31       count: 1
32     traffic_type: 4
33     rfc2544:
34       allowed_drop_rate: 0.0001 - 0.0001
35     vnf__0:
36       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
37   runner:
38     type: Iteration
39     iterations: 10
40     interval: 35
41 context:
42   # put node context first, so we don't HEAT deploy if node has errors
43   name: yardstick
44   image: yardstick-samplevnfs
45   flavor:
46     vcpus: 10
47     ram: 20480
48     disk: 6
49     extra_specs:
50       hw:cpu_sockets: 1
51       hw:cpu_cores: 10
52       hw:cpu_threads: 1
53   user: ubuntu
54   placement_groups:
55     pgrp1:
56       policy: "availability"
57   servers:
58     vnf:
59       floating_ip: true
60       placement: "pgrp1"
61     trafficgen_1:
62       floating_ip: true
63       placement: "pgrp1"
64   networks:
65     mgmt:
66       cidr: '10.0.1.0/24'
67     xe0:
68       cidr: '10.0.2.0/24'
69       gateway_ip: 'null'
70 #      port_security_enabled: False
71       allowed_address_pairs:
72         - ip_address:
73             '0.0.0.0/0'
74     xe1:
75       cidr: '10.0.3.0/24'
76       gateway_ip: 'null'
77 #      port_security_enabled: False
78       allowed_address_pairs:
79         - ip_address:
80             '0.0.0.0/0'
81