Merge "Get SUT information"
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / tc_heat_rfc2544_ipv4_1flow_64B_trex_correlated_scale_2.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-2.yaml
20     topology: cgnapt-vnf-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         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
44         napt: 'dynamic'
45       vnf__1:
46         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
47         napt: 'dynamic'
48     runner:
49       type: Iteration
50       iterations: 10
51       interval: 35
52 context:
53   name: yardstick
54   image: yardstick-samplevnfs
55   flavor:
56     vcpus: 10
57     ram: 10240
58     disk: 6
59     extra_specs:
60       hw:cpu_sockets: 1
61       hw:cpu_cores: 10
62       hw:cpu_threads: 1
63   user: ubuntu
64   placement_groups:
65     pgrp1:
66       policy: "availability"
67   servers:
68     tg_0:
69       floating_ip: true
70       placement: "pgrp1"
71       network_ports:
72         mgmt:
73           - mgmt
74         uplink_0:
75           - xe0
76         uplink_1:
77           - xe1
78     tg_1:
79       floating_ip: true
80       placement: "pgrp1"
81       network_ports:
82         mgmt:
83           - mgmt
84         downlink_0:
85           - xe0
86         downlink_1:
87           - xe1
88     vnf_0:
89       floating_ip: true
90       placement: "pgrp1"
91       network_ports:
92         mgmt:
93           - mgmt
94         uplink_0:
95           - xe0
96         downlink_0:
97           - xe1
98     vnf_1:
99       floating_ip: true
100       placement: "pgrp1"
101       network_ports:
102         mgmt:
103           - mgmt
104         uplink_1:
105           - xe0
106         downlink_1:
107           - xe1
108   networks:
109     mgmt:
110       cidr: '10.0.1.0/24'
111     uplink_0:
112       cidr: '10.1.0.0/24'
113       gateway_ip: 'null'
114       port_security_enabled: False
115       enable_dhcp: 'false'
116     downlink_0:
117       cidr: '10.1.1.0/24'
118       gateway_ip: 'null'
119       port_security_enabled: False
120       enable_dhcp: 'false'
121     uplink_1:
122       cidr: '10.2.0.0/24'
123       gateway_ip: 'null'
124       port_security_enabled: False
125       enable_dhcp: 'false'
126     downlink_1:
127       cidr: '10.2.1.0/24'
128       gateway_ip: 'null'
129       port_security_enabled: False
130       enable_dhcp: 'false'