Merge "Add intermediate variables for attacker,monitor,result_checker"
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_4port.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-4.yaml
20   topology: vfw-tg-topology-4port.yaml
21   nodes:
22     tg__0: tg_0.yardstick
23     vnf__0: vnf_0.yardstick
24   options:
25     framesize:
26       private: {64B: 100}
27       public: {64B: 100}
28     flow:
29       src_ip: [{'tg__0': 'xe0'}, {'tg__0': 'xe2'}]
30       dst_ip: [{'tg__0': 'xe1'}, {'tg__0': 'xe3'}]
31       count: 1
32     traffic_type: 4
33     rfc2544:
34       allowed_drop_rate: 0.0001 - 0.0001
35     vnf__0:
36       rules: acl_1rule.yaml
37       vnf_config: {lb_config: 'SW', lb_count: 2, worker_config: '1C/1T', worker_threads: 1}
38   runner:
39     type: Iteration
40     iterations: 10
41     interval: 35
42 context:
43   # put node context first, so we don't HEAT deploy if node has errors
44   name: yardstick
45   image: yardstick-samplevnfs
46   flavor:
47     vcpus: 10
48     ram: 20480
49     disk: 6
50     extra_specs:
51       hw:cpu_sockets: 1
52       # (2 cores / port * 4 ports) + 1 master == 10 cores
53       hw:cpu_cores: 12
54       hw:cpu_threads: 1
55   user: ubuntu
56   placement_groups:
57     pgrp1:
58       policy: "availability"
59   servers:
60     tg_0:
61       floating_ip: true
62       placement: "pgrp1"
63     vnf_0:
64       floating_ip: true
65       placement: "pgrp1"
66   networks:
67     mgmt:
68       cidr: '10.0.1.0/24'
69     private_0:
70       cidr: '10.1.0.0/24'
71       gateway_ip: 'null'
72       port_security_enabled: False
73       enable_dhcp: 'false'
74     public_0:
75       cidr: '10.1.1.0/24'
76       gateway_ip: 'null'
77       port_security_enabled: False
78       enable_dhcp: 'false'
79     private_1:
80       cidr: '10.2.0.0/24'
81       gateway_ip: 'null'
82       port_security_enabled: False
83       enable_dhcp: 'false'
84     public_1:
85       cidr: '10.2.1.0/24'
86       gateway_ip: 'null'
87       port_security_enabled: False
88       enable_dhcp: 'false'
89