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