Merge "Cleanup unittests for test_attacker_baremetal"
[yardstick.git] / samples / vnf_samples / nsut / bng / tc_bng_pppoe_rfc2544_ixia_8ports_1port_congested_IMIX.yaml
1 # Copyright (c) 2018 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 sessions_per_port = sessions_per_port or 4000 %}
17 {% set sessions_per_svlan = sessions_per_svlan or 1000 %}
18 schema: yardstick:task:0.1
19 description: >
20   vBNG RFC2544 test case with QoS base line with link congestion.
21   Test case creates PPPoE sessions, runs traffic from two core ports
22   to one access port causing congestion of that port (traffic from
23   other access ports are splitting between remaining core ports)
24   and measures packets drop rate on all ports for each priority flow.
25 scenarios:
26 - type: NSPerf
27   traffic_profile: "../../traffic_profiles/ixia_ipv4_latency_vbng_1port_congested-8.yaml"
28   topology: "../agnostic/agnostic_vnf_topology_ixia_8ports.yaml"
29   ixia_config: IxiaPppoeClient
30   nodes:
31     tg__0: tg_0.yardstick
32     vnf__0: vnf_0.yardstick
33   options:
34     pppoe_client: # access network
35       sessions_per_port: {{ sessions_per_port }}
36       sessions_per_svlan: {{ sessions_per_svlan }}
37       pap_user: 'wfnos'
38       pap_password: ''
39       ip: [{'tg__0': 'xe0'}, {'tg__0': 'xe2'}, {'tg__0': 'xe4'}, {'tg__0': 'xe6'}]
40       s_vlan: 100  # s-vlan applies per device group
41       c_vlan: 1000  # c-vlan applies per subscriber
42     ipv4_client: # core network
43       sessions_per_port: 1
44       sessions_per_vlan: 1
45       ip: [{'tg__0': 'xe1'}, {'tg__0': 'xe3'}, {'tg__0': 'xe5'}, {'tg__0': 'xe7'}]
46       gateway_ip: [{'vnf__0': 'xe1'}, {'vnf__0': 'xe3'}, {'vnf__0': 'xe5'}, {'vnf__0': 'xe7'}]
47       vlan: 101
48       bgp:
49         bgp_type: external
50         dut_ip: 10.0.0.3
51         as_number: 65000
52     framesize:
53       uplink: {70B: 33, 940B: 33, 1470B: 34}
54       downlink: {68B: 3, 932B: 1, 1470B: 96}
55     flow:
56       src_ip: [{'tg__0': 'xe0'}, {'tg__0': 'xe2'}, {'tg__0': 'xe4'}, {'tg__0': 'xe6'}]
57       dst_ip: [{'tg__0': 'xe1'}, {'tg__0': 'xe3'}, {'tg__0': 'xe5'}, {'tg__0': 'xe7'}]
58       count: 1
59     traffic_type: 4
60     rfc2544:
61       allowed_drop_rate: 0.0001 - 0.0001
62   runner:
63     type: Iteration
64     iterations: 10
65     interval: 75
66 context:
67   type: Node
68   name: yardstick
69   nfvi_type: baremetal
70   file: /etc/yardstick/nodes/pod_ixia.yaml