Improve IXIA IxNetwork library and traffic profile (1)
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2.yaml
1 # Copyright (c) 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-2.yaml
20     topology: vfw-tg-topology-3node-2.yaml
21     nodes:
22       tg__0: tg_0.yardstick
23       tg__1: tg_1.yardstick
24       vnf__0: vnf_0.yardstick
25       vnf__1: vnf_1.yardstick
26     options:
27       framesize:
28         uplink: {64B: 100}
29         downlink: {64B: 100}
30       flow:
31         src_ip:
32           - {'tg__0': 'xe0'}
33           - {'tg__0': 'xe1'}
34         dst_ip:
35           - {'tg__1': 'xe0'}
36           - {'tg__1': 'xe1'}
37         count: 1
38       traffic_type: 4
39       rfc2544:
40         allowed_drop_rate: 0.0001 - 0.0001
41         correlated_traffic: true
42       vnf__0:
43         rules: acl_1rule.yaml
44         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
45       vnf__1:
46         rules: acl_1rule.yaml
47         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
48     runner:
49       type: Iteration
50       iterations: 10
51       interval: 35
52 context:
53   # put node context first, so we don't HEAT deploy if node has errors
54   name: yardstick
55   image: yardstick-samplevnfs
56   flavor:
57     vcpus: 10
58     ram: 20480
59     disk: 6
60     extra_specs:
61       hw:cpu_sockets: 1
62       hw:cpu_cores: 10
63       hw:cpu_threads: 1
64   user: ubuntu
65   placement_groups:
66     pgrp1:
67       policy: "availability"
68   servers:
69     tg_0:
70       floating_ip: true
71       placement: "pgrp1"
72       network_ports:
73         mgmt:
74           - mgmt
75         uplink_0:
76           - xe0
77         uplink_1:
78           - xe1
79     tg_1:
80       floating_ip: true
81       placement: "pgrp1"
82       network_ports:
83         mgmt:
84           - mgmt
85         downlink_0:
86           - xe0
87         downlink_1:
88           - xe1
89     vnf_0:
90       floating_ip: true
91       placement: "pgrp1"
92       network_ports:
93         mgmt:
94           - mgmt
95         uplink_0:
96           - xe0
97         downlink_0:
98           - xe1
99     vnf_1:
100       floating_ip: true
101       placement: "pgrp1"
102       network_ports:
103         mgmt:
104           - mgmt
105         uplink_1:
106           - xe0
107         downlink_1:
108           - xe1
109   networks:
110     mgmt:
111       cidr: '10.0.1.0/24'
112     uplink_0:
113       cidr: '10.1.0.0/24'
114       gateway_ip: 'null'
115       port_security_enabled: False
116       enable_dhcp: 'false'
117     downlink_0:
118       cidr: '10.1.1.0/24'
119       gateway_ip: 'null'
120       port_security_enabled: False
121       enable_dhcp: 'false'
122     uplink_1:
123       cidr: '10.2.0.0/24'
124       gateway_ip: 'null'
125       port_security_enabled: False
126       enable_dhcp: 'false'
127     downlink_1:
128       cidr: '10.2.1.0/24'
129       gateway_ip: 'null'
130       port_security_enabled: False
131       enable_dhcp: 'false'