Cleanup of ixia_profile attribute for IxNetwork TG
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_out.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-{{ num_vnfs }}.yaml
20     topology: vfw-tg-topology-3node-{{ num_vnfs }}.yaml
21     nodes:
22       tg__0: tg_0.yardstick
23       tg__1: tg_1.yardstick
24 {% for vnf_num in range(num_vnfs|int) %}
25       vnf__{{ vnf_num }}: vnf_{{ vnf_num }}.yardstick
26 {% endfor %}
27     options:
28       framesize:
29         uplink: {64B: 100}
30         downlink: {64B: 100}
31       flow:
32         src_ip:
33 {% for vnf_num in range(num_vnfs|int) %}
34           - {'tg__0': 'xe{{ vnf_num }}'}
35 {% endfor %}
36         dst_ip:
37 {% for vnf_num in range(num_vnfs|int) %}
38           - {'tg__1': 'xe{{ vnf_num }}'}
39 {% endfor %}
40         count: 1
41       traffic_type: 4
42       rfc2544:
43         allowed_drop_rate: 0.0001 - 0.0001
44         correlated_traffic: true
45 {% for vnf_num in range(num_vnfs|int) %}
46       vnf__{{ vnf_num }}:
47         rules: acl_1rule.yaml
48         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
49 {% endfor %}
50     runner:
51       type: Iteration
52       iterations: 10
53       interval: 35
54 context:
55   # put node context first, so we don't HEAT deploy if node has errors
56   name: yardstick
57   image: yardstick-samplevnfs
58   flavor:
59     vcpus: 10
60     ram: 20480
61     disk: 6
62     extra_specs:
63       hw:cpu_sockets: 1
64       hw:cpu_cores: 10
65       hw:cpu_threads: 1
66   user: ubuntu
67   placement_groups:
68     pgrp1:
69       policy: "availability"
70   servers:
71     tg_0:
72       floating_ip: true
73       placement: "pgrp1"
74       network_ports:
75         mgmt:
76           - mgmt
77 {% for vnf_num in range(num_vnfs|int) %}
78         uplink_{{ vnf_num }}:
79           - xe{{ vnf_num }}
80 {% endfor %}
81     tg_1:
82       floating_ip: true
83       placement: "pgrp1"
84       network_ports:
85         mgmt:
86           - mgmt
87 {% for vnf_num in range(num_vnfs|int) %}
88         downlink_{{ vnf_num }}:
89           - xe{{ vnf_num }}
90 {% endfor %}
91 {% for vnf_num in range(num_vnfs|int) %}
92     vnf_{{ vnf_num }}:
93       floating_ip: true
94       placement: "pgrp1"
95       network_ports:
96         mgmt:
97           - mgmt
98         uplink_{{ vnf_num }}:
99           - xe0
100         downlink_{{ vnf_num }}:
101           - xe1
102 {% endfor %}
103   networks:
104     mgmt:
105       cidr: '10.0.1.0/24'
106 {% for vnf_num in range(num_vnfs|int) %}
107     uplink_{{ vnf_num }}:
108       cidr: '10.{{ vnf_num + 1 }}.0.0/24'
109       gateway_ip: 'null'
110       port_security_enabled: False
111       enable_dhcp: 'false'
112     downlink_{{ vnf_num }}:
113       cidr: '10.{{ vnf_num + 1 }}.1.0/24'
114       gateway_ip: 'null'
115       port_security_enabled: False
116       enable_dhcp: 'false'
117 {% endfor %}