add yardstick iruya 9.0.0 release notes
[yardstick.git] / samples / vnf_samples / nsut / vepc / tc_epc_ue_service_request_landslide.yaml
1 # Copyright (c) 2018-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
15 ---
16 schema: yardstick:task:0.1
17 description: >
18     UE triggered bearer modification request with new QoS and TFT settings
19
20 scenarios:
21 - type: NSPerf
22   traffic_profile: "../../traffic_profiles/landslide/landslide_dmf_udp.yaml"
23   session_profile: "../../traffic_profiles/landslide/landslide_session_ue_service_request.yaml"
24   topology: "vepc_vnf_topology_landslide.yaml"
25   nodes:
26     tg__0: trafficgen_0.traffic_gen
27     vnf__0: vnf.vnf_epc
28   options:
29     dmf:
30       transactionRate: 5
31       packetSize: 512
32       burstCount: 1 # Applies only to Basic UDP DMF, DataProtocol==udp
33     test_cases:  # test case parameters to apply on session profile
34     - type: SGW_Node  # test type from test session profile
35       AssociatedPhys: 'eth6'
36       BearerAddrPool: 2001::1
37       BearerV4AddrPool: 1.0.0.1
38       Sessions: '20000'
39       UeInitBearerEn: 'true'
40       DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
41       DefaultBearers: 1 # number of default bearers
42       FireballEn: 'false' # Fireball settings
43
44       # Number of TFTs
45       # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX>
46       TrafficNumTftsForContext0: '1'
47
48       # TFT Settings
49       # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer.
50       # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>"
51       # E.g.:
52       # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT
53       # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT
54       # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT
55       TrafficTftForContext0_0:
56         array:
57         - '255'     # Packet Evaluation Precedence
58         - '6'      # Protocol Number
59         - ''
60         - ''        # Starting Remote Port
61         - ''        # Ending Remote Port
62         - ''        # Remote Address
63         - ''        # Starting Local Port
64         - ''        # Ending Local Port
65         - ''        # Type of Service
66         - ''        # Mask
67         - ''        # Security Parameter Index
68         - ''        # Flow Label
69         - ''
70         - ''        # Include In Bearer Modification Request
71         - '3'       # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional
72         - ''
73         - ''
74         - ''
75         - ''
76         class: Array
77
78     - type: SGW_Nodal  # test type from test session profile
79       StartRate: '1000.0'
80       DisconnectRate: '1000.0'
81       Sessions: '20000'
82       UeInitBearerEn: 'true'
83       DedicatedsPerDefaultBearer: '1' # number of dedicated bearers per default
84       DefaultBearers: '1' # number of default bearers
85       FireballEn: 'false' # Fireball settings
86
87       # Creation delay individually for each dedicated bearer
88       # Array items specifies timeout between default and dedicated bearers creation
89       # Array items corresponds to specific dedicated bearer:
90       # E.g. 1st item - 1st dedicated bearer, 2nd item - 2nd dedicated bearer, etc.
91       ConnectBearerDelay:
92         class: Array
93         array: ['1']
94
95       # Data start delay (ms)
96       TrafficStartDelay: 1000
97
98       # Number of TFTs
99       # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX>
100       TrafficNumTftsForContext0: '1'
101
102       # TFT settings
103       # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer.
104       # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>"
105       # E.g.:
106       # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT
107       # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT
108       # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT
109       TrafficTftForContext0_0:
110         array:
111         - '255'     # Packet Evaluation Precedence
112         - '6'      # Protocol Number
113         - ''
114         - ''        # Starting Remote Port
115         - ''        # Ending Remote Port
116         - ''        # Remote Address
117         - ''        # Starting Local Port
118         - ''        # Ending Local Port
119         - ''        # Type of Service
120         - ''        # Mask
121         - ''        # Security Parameter Index
122         - ''        # Flow Label
123         - ''
124         - ''        # Include In Bearer Modification Request
125         - '3'       # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional
126         - ''
127         - ''
128         - ''
129         - ''
130         class: Array
131
132       # Bearers modification settings
133       # Dedicated bearers modification settings and TFT filters
134       Gtp2BearerModEn: 'true' # Enable/Disable bearer modification
135       Gtp2BearerModInit: 'UE' # Bearer modification initiator
136       Gtp2BearerDelayTime: '5' # Delay time (s)
137       Gtp2IncModQos_2: 'true' # Include QoS IE
138       Gtp2BearerContinuousMod: 'false' # Continuous modifications
139       # Operation code in TFT settings:
140       # Parameter name(s) depends on number of dedicated bearers
141       # Parameter naming pattern: "TrafficOpCodeForContext<DEDICATED_BEARER_INDEX>_2"
142       # E.g.:
143       # TrafficOpCodeForContext0_2 - operation code for 1st dedicated bearer's TFT
144       # TrafficOpCodeForContext1_2 - operation code for 2st dedicated bearer's TFT
145       # 1 - create new TFT
146       # 2 - delete existing TFT
147       # 3 - add packet filters to existing TFT
148       # 4 - replace packet filters in existing TFT
149       # 5 - delete packet filters from existing TFT
150       TrafficOpCodeForContext0_2: '1'
151
152       # Number of TFTs
153       # Parameter name pattern: TrafficNumTftsForContext<DEDICATED_BEARER_INDEX>_2
154       TrafficNumTftsForContext0_2: '1'
155
156       # TFT settings
157       # Parameter name(s) depends on number of dedicated bearers and number of TFTs per bearer.
158       # Parameter naming pattern: "TrafficTftForContext<DEDICATED_BEARER_INDEX>_<TFT_INDEX>_2"
159       # E.g.:
160       # "TrafficTftForContext0_0" - dedicated bearer 1, 1st TFT
161       # "TrafficTftForContext0_1" - dedicated bearer 1, 2nd TFT
162       # "TrafficTftForContext1_0" - dedicated bearer 2, 1st TFT
163       TrafficTftForContext0_0_2:
164         class: Array
165         array:
166         - '255'     # Packet Evaluation Precedence
167         - '17'       # Protocol Number
168         - ''
169         - '2003'    # Starting Remote Port
170         - '2003'    # Ending Remote Port
171         - ''        # Remote Address
172         - '2002'    # Starting Local Port
173         - '2002'    # Ending Local Port
174         - ''        # Type of Service
175         - ''        # Mask
176         - ''        # Security Parameter Index
177         - ''        # Flow Label
178         - ''
179         - 'true'    # Include In Bearer Modification Request
180         - '3'       # Direction: 0 - Pre Rel 7, 1 - Downlink, 2 - Uplink, 3 - Bi-Directional
181         - ''
182         - ''
183         - ''
184         - ''
185
186       # Modified bearers QoS settings
187       Gtp2QosDetail_2: Individual # bearers QoS details (Summary, Individual, Per Bearer)
188
189       # Parameter name(s) depends on number of dedicated bearers
190       # Parameter(s) naming pattern: "Gtp2QosClassId_2_<BEARER_INDEX>"
191       # E.g.:
192       # Gtp2QosClassId_2_1 - default bearer class identifier
193       # Gtp2QosClassId_2_2 - 1st dedicated bearer class identifier
194       # Gtp2QosClassId_2_3 - 2st dedicated bearer class identifier
195       # Modified default bearer settings
196       Gtp2QosClassId_2_1: '1' # Bearer class identifier
197       Gtp2QosArpValue_2_1: '1' # Bearer ARP priority level
198       Gtp2QosArpPreemptCapEn_2_1: 'false' # Pre-emption capability
199       Gtp2QosArpPreemptVulnEn_2_1: 'false' # Pre-emption vulnerability
200       Gtp2QosMaxUplink_2_1: '1000' # Uplink maximum bit rates (kb/s)
201       Gtp2QosMaxDownlink_2_1: '1000' # Downlink maximum bit rates (kb/s)
202       Gtp2QosGuarUplink_2_1: '1000' # Uplink guaranteed bit rates (kb/s)
203       Gtp2QosGuarDownlink_2_1: '1000' # Downlink guaranteed bit rates (kb/s)
204
205       # Modified dedicated bearer settings
206       Gtp2QosClassId_2_2: '5' # Bearer class identifier
207       Gtp2QosArpValue_2_2: '1' # Bearer ARP priority level
208       Gtp2QosArpPreemptCapEn_2_2: 'false' # Pre-emption capability
209       Gtp2QosArpPreemptVulnEn_2_2: 'false' # Pre-emption vulnerability
210
211       # Uncomment this settings in case Gtp2QosClassId_2_2 is equal to 1
212       # Gtp2QosMaxUplink_2_2: '1000' # Uplink maximum bit rates (kb/s)
213       # Gtp2QosMaxDownlink_2_2: '1000' # Downlink maximum bit rates (kb/s)
214       # Gtp2QosGuarUplink_2_2: '1000' # Uplink guaranteed bit rates (kb/s)
215       # Gtp2QosGuarDownlink_2_2: '1000' # Downlink guaranteed bit rates (kb/s)
216
217   runner:
218     type: Duration
219     duration: 300
220     interval: 5
221
222 contexts:
223 - name: traffic_gen
224   type: Node
225   file: /etc/yardstick/nodes/pod_landslide.yaml
226 - name: vnf_epc
227   type: Node
228   file: /etc/yardstick/nodes/pod_vepc_sut.yaml