Add UE initiated dedicated bearer creation test
[yardstick.git] / samples / vnf_samples / nsut / vepc / tc_epc_ue_dedicated_bearer_create_landslide.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 schema: yardstick:task:0.1
17 description: >
18     UE triggered dedicated bearer creation test case. Measure successful dedicated bearers
19     creation rate, total number of active bearer per server.
20
21 scenarios:
22 - type: NSPerf
23   traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml"
24   session_profile: "../../traffic_profiles/landslide/landslide_session_ue_dedicated_bearer.yaml"
25   topology: "vepc_vnf_topology_landslide.yaml"
26   nodes:
27     tg__0: tg__0.traffic_gen
28     vnf__0: vnf__0.vnf_epc
29   options:
30     dmf:
31       transactionRate: 5
32       packetSize: 512
33       burstCount: 1  # Applies only to Basic UDP DMF, DataProtocol==udp
34     test_cases:  # test case parameters to apply on session profile
35     - type: SGW_Node  # test type from test session profile
36       AssociatedPhys: 'eth6'  # interface(s) in Node test type to loop traffic back from NetHost
37       BearerAddrPool: 2001::1
38       BearerV4AddrPool: 1.0.0.1
39       Sessions: '20000'
40       UeInitBearerEn: 'true'
41       DedicatedsPerDefaultBearer: 1  # number of dedicated bearers per default
42       DefaultBearers: 1  # number of default bearers
43
44       # Fireball settings
45       FireballEn: 'false'
46
47     - type: SGW_Nodal  # test type from test session profile
48       StartRate: '1000.0'
49       DisconnectRate: '1000.0'
50       Sessions: '20000'
51       UeInitBearerEn: 'true'
52       DedicatedsPerDefaultBearer: '1'  # number of dedicated bearers per default
53       DefaultBearers: '1'  # number of default bearers
54
55       # Connection delay individually for each dedicated bearer
56       ConnectBearerDelay:
57         class: Array
58         array: ['5']
59
60       # Fireball settings
61       FireballEn: 'false'
62
63   runner:
64     type: Duration
65     duration: 300
66     interval: 5
67
68 contexts:
69 - name: traffic_gen
70   type: Node
71   file: /etc/yardstick/nodes/pod_landslide.yaml
72 - name: vnf_epc
73   type: Node
74   file: /etc/yardstick/nodes/pod_vepc_sut.yaml