Merge "Update NSB PROX devguide"
[yardstick.git] / samples / vnf_samples / nsut / vepc / tc_epc_network_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     NW 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_network_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: 50000
40       UeInitBearerEn: 'false'
41       DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
42       DefaultBearers: 1 # number of default bearers
43       FireballEn: 'false' # Fireball settings
44
45       # APN settings (number of APNs and APN's names)
46       Gtp2ApnNumSpecifiedApns_0: '1'
47       Gtp2ApnSpecified_0:
48         array: [dummy.an]
49         class: Array
50
51     - type: PGW_Node # test type from test session profile
52       BearerAddrPool: 2001::1
53       BearerV4AddrPool: 1.0.0.1
54       Sessions: 50000
55       DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
56       DefaultBearers: 1 # number of default bearers
57       FireballEn: 'false' # Fireball settings
58
59       # APN settings (number of APNs and APN's names)
60       Gtp2ApnNumSpecifiedApns_0: '1'
61       Gtp2ApnSpecified_0:
62         class: Array
63         array: [dummy.an]
64
65     - type: SGW_Nodal  # test type from test session profile
66       StartRate: '1000.0'
67       DisconnectRate: '1000.0'
68       Sessions: 50000
69       UeInitBearerEn: 'false'
70       DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
71       DefaultBearers: 1 # number of default bearers
72       PgwNodeEn: 'false' # Emulate PGW Node
73       FireballEn: 'false' # Fireball settings
74
75       # APN settings (number of APNs and APN's names)
76       Gtp2ApnNumSpecifiedApns_0: '1'
77       Gtp2ApnSpecified_0:
78         class: Array
79         array: [dummy.an]
80
81       # Creation delay individually for each dedicated bearer
82       # Array items specifies timeout between default and dedicated bearers creation
83       # Array items corresponds to specific dedicated bearer
84       ConnectBearerDelay:
85         class: Array
86         array: ['1']
87
88     - type: PCRF_Node # test type from test session profile
89       Sessions: 50000
90       DisconnectRate: '1000'
91
92       # Starting IP address
93       StartingMsIpAddr: 1.0.0.1
94
95       # APN settings (APN's Names)
96       TyCcSrvApns:
97         class: Array
98         array: [dummy.an]
99
100       # Timer column (in seconds)
101       # Value specifies timeout after which dedicated bearer will be created
102       # None-zero timeout corresponds to dedicated bearer, zero timeout - to default bearer
103       TyCcV4SrvRuleInterval_1: '10' # APN1 dedicated bearer
104       TyCcV4SrvRuleInterval_2: '0' # APN1 default bearer
105
106       # QoS Class ID
107       # Name Pattern: TyCcV4SrvCrQci_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
108       TyCcV4SrvCrQci_1_1_1: '1' # QCI of dedicated bearer
109
110       # Dedicated bearer Uplink/Downlink Bandwidth settings
111       # Name Pattern: TyCcV4SrvPrMaxUL_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
112       # Name Pattern: TyCcV4SrvPrGuaranteedUplink_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
113       TyCcV4SrvPrMaxUL_1_1_1: '300' # Uplink Max Bandwidth
114       TyCcV4SrvPrMaxDL_1_1_1: '300' # Downlink Max Bandwidth
115       TyCcV4SrvPrGuaranteedUplink_1_1_1: '300' # Uplink Guaranteed Bandwidth
116       TyCcV4SrvPrGuaranteedDownlink_1_1_1: '300' # Downlink Guaranteed Bandwidth
117
118       # Dedicated bearer ARP Rules
119       # Name Pattern: TyCcV4SrvPrArpEn_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
120       # Name Pattern: TyCcV4SrvPrArpValue_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
121       TyCcV4SrvPrArpEn_1_1_1: 'true' # Enable ARP Rules
122       TyCcV4SrvPrArpValue_1_1_1: '1' # ARP Value
123       TyCcV4SrvPrArpPreemptCapEn_1_1_1: 'true' # Enable Pre-emption Capability
124       TyCcV4SrvPrArpPreemptVulnEn_1_1_1: 'true' # Enable Pre-emption Vulnerability
125
126       # Packet Filter Description
127       # Name Pattern:
128       # TyCcV4SrvCrFilter_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM>
129       # To explicitly specify protocol number with decimal number, use following naming pattern:
130       # permit in <PROTOCOL_NUMBER> from
131       TyCcV4SrvCrFilter_1_1_1_1: permit in 17 from
132
133       # Packet Filter Destination IP
134       # Name Pattern:
135       # TyCcV4SrvCrFilterDestIp_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM>
136       # Parameter's value specifies filter's destination IP address and remote port range
137       TyCcV4SrvCrFilterDestIp_1_1_1_1: 0.0.0.0 0-65535
138
139       # Packet Filter IP Ext
140       # Name Pattern:
141       # TyCcV4SrvCrUserIpExt_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM>
142       # Parameter's value specifies filter's local port range
143       TyCcV4SrvCrUserIpExt_1_1_1_1: 0-65535
144
145       # Packet Filter Flow Direction
146       # Name Pattern:
147       # TyCcV4SrvCrFilterDirection_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM>
148       TyCcV4SrvCrFilterDirection_1_1_1_1: '3' # Bi-Directional
149
150       # Diameter Transmission Protocol
151       TyCcSrvTcpProtocol: '1' # 0 - TCP, 1 - SCTP
152
153   runner:
154     type: Duration
155     duration: 600
156     interval: 5
157
158 contexts:
159 - name: traffic_gen
160   type: Node
161   file: /etc/yardstick/nodes/pod_landslide_network_dedicated.yaml
162 - name: vnf_epc
163   type: Node
164   file: /etc/yardstick/nodes/pod_vepc_sut.yaml