Cleanup of ixia_profile attribute for IxNetwork TG
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_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 {% set provider = provider or none %}
17 {% set physical_networks = physical_networks or ['physnet1', 'physnet2'] %}
18 {% set segmentation_id = segmentation_id or none %}
19
20 schema: yardstick:task:0.1
21 scenarios:
22 - type: NSPerf
23   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
24   topology: vfw-tg-topology.yaml
25   nodes:
26     tg__0: trafficgen_1.yardstick
27     vnf__0: vnf.yardstick
28   options:
29     framesize:
30       uplink: {64B: 100}
31       downlink: {64B: 100}
32     flow:
33       src_ip: [{'tg__0': 'xe0'}]
34       dst_ip: [{'tg__0': 'xe1'}]
35       count: 1
36     traffic_type: 4
37     rfc2544:
38       allowed_drop_rate: 0.0001 - 0.0001
39     vnf__0:
40       rules: acl_1rule.yaml
41       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
42   runner:
43     type: Iteration
44     iterations: 10
45     interval: 35
46 context:
47   # put node context first, so we don't HEAT deploy if node has errors
48   name: yardstick
49   image: yardstick-samplevnfs
50   flavor:
51     vcpus: 10
52     ram: 20480
53     disk: 6
54     extra_specs:
55       hw:cpu_sockets: 1
56       hw:cpu_cores: 10
57       hw:cpu_threads: 1
58   user: ubuntu
59   placement_groups:
60     pgrp1:
61       policy: "availability"
62   servers:
63     vnf:
64       floating_ip: true
65       placement: "pgrp1"
66     trafficgen_1:
67       floating_ip: true
68       placement: "pgrp1"
69   networks:
70     mgmt:
71       cidr: '10.0.1.0/24'
72     xe0:
73       cidr: '10.0.2.0/24'
74       gateway_ip: 'null'
75       {% if provider %}
76       provider: {{ provider }}
77       physical_network: {{ physical_networks[0] }}
78         {% if segmentation_id %}
79       segmentation_id: {{ segmentation_id }}
80         {% endif %}
81       {% endif %}
82       port_security_enabled: False
83       enable_dhcp: 'false'
84     xe1:
85       cidr: '10.0.3.0/24'
86       gateway_ip: 'null'
87       {% if provider %}
88       provider: {{ provider }}
89       physical_network: {{ physical_networks[1] }}
90         {% if segmentation_id %}
91       segmentation_id: {{ segmentation_id }}
92         {% endif %}
93       {% endif %}
94       port_security_enabled: False
95       enable_dhcp: 'false'