1 # Copyright (c) 2018 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 schema: yardstick:task:0.1
18 NW triggered dedicated bearer creation test case. Measure successful dedicated bearers
19 creation rate, total number of active bearer per server.
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"
27 tg__0: tg__0.traffic_gen
28 vnf__0: vnf__0.vnf_epc
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
40 UeInitBearerEn: 'false'
41 DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
42 DefaultBearers: 1 # number of default bearers
43 FireballEn: 'false' # Fireball settings
45 # APN settings (number of APNs and APN's names)
46 Gtp2ApnNumSpecifiedApns_0: '1'
51 - type: PGW_Node # test type from test session profile
52 BearerAddrPool: 2001::1
53 BearerV4AddrPool: 1.0.0.1
55 DedicatedsPerDefaultBearer: 1 # number of dedicated bearers per default
56 DefaultBearers: 1 # number of default bearers
57 FireballEn: 'false' # Fireball settings
59 # APN settings (number of APNs and APN's names)
60 Gtp2ApnNumSpecifiedApns_0: '1'
65 - type: SGW_Nodal # test type from test session profile
67 DisconnectRate: '1000.0'
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
75 # APN settings (number of APNs and APN's names)
76 Gtp2ApnNumSpecifiedApns_0: '1'
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
88 - type: PCRF_Node # test type from test session profile
90 DisconnectRate: '1000'
93 StartingMsIpAddr: 1.0.0.1
95 # APN settings (APN's Names)
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
107 # Name Pattern: TyCcV4SrvCrQci_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>
108 TyCcV4SrvCrQci_1_1_1: '1' # QCI of dedicated bearer
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
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
126 # Packet Filter Description
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
133 # Packet Filter Destination IP
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
139 # Packet Filter IP Ext
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
145 # Packet Filter Flow Direction
147 # TyCcV4SrvCrFilterDirection_<RULE_SET_NUM>_<CHAR_RULE_NUM>_<RULE_DEF_NUM>_<FILTER_NUM>
148 TyCcV4SrvCrFilterDirection_1_1_1_1: '3' # Bi-Directional
150 # Diameter Transmission Protocol
151 TyCcSrvTcpProtocol: '1' # 0 - TCP, 1 - SCTP
161 file: /etc/yardstick/nodes/pod_landslide_network_dedicated.yaml
164 file: /etc/yardstick/nodes/pod_vepc_sut.yaml