Unify vFW testcases TG and VNF names
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_external_http_ixload_1b_Requests-65000_Connections.yaml
1 # Copyright (c) 2017-2019 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 {% set framesize = framesize or "{64B: 100}" %}
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18 - type: NSPerf
19   traffic_profile: "../../traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml"
20   topology: vfw_vnf_topology_ixload.yaml
21   nodes:
22     tg__0: trafficgen_0.yardstick
23     vnf__0: vnf_0.yardstick
24   options:
25     framesize:
26       private: {{ framesize }}
27       public: {{ framesize }}
28     traffic_type: 4
29     rfc2544:
30       allowed_drop_rate: 0.0001 - 0.0001
31     vnf__0:
32       rules: acl_1rule.yaml
33       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
34       nfvi_enable: True
35   runner:
36     type: Duration
37     duration: 2
38   ixia_profile: ../../traffic_profiles/vfw/HTTP-vFW_IPv4_2Ports_Connections.rxf # Need vlan update
39 contexts:
40   - name: yardstick
41     type: Node
42     file: /etc/yardstick/nodes/pod_ixia.yaml
43   - name: yardstick
44     image: yardstick-samplevnfs
45     flavor:
46       vcpus: 10
47       ram: 20480
48       disk: 6
49       extra_specs:
50         hw:cpu_sockets: 1
51         hw:cpu_cores: 10
52         hw:cpu_threads: 1
53     user: ubuntu
54     placement_groups:
55       pgrp1:
56         policy: "availability"
57     servers:
58       vnf_0:
59         floating_ip: true
60         placement: "pgrp1"
61         network_ports:
62           mgmt:
63             - mgmt
64           uplink_0:
65             - xe0:
66                 local_ip: 10.0.2.10
67                 netmask: 255.255.255.0
68           downlink_0:
69             - xe1:
70                 local_ip: 10.0.3.10
71                 netmask: 255.255.255.0
72     networks:
73       mgmt:
74         cidr: '10.0.1.0/24'
75       uplink_0:
76         cidr: '10.0.2.0/24'
77         gateway_ip: 'null'
78         provider: true
79         physical_network: phystenant1
80         port_security_enabled: False
81         enable_dhcp: 'false'
82       downlink_0:
83         cidr: '10.0.3.0/24'
84         gateway_ip: 'null'
85         provider: true
86         physical_network: phystenant2
87         port_security_enabled: False
88         enable_dhcp: 'false'
89
90
91