blob: 4f9d6380bcc052d2dc879de6da2e71e47dd224c7 [file] [log] [blame]
badhri854c028b32021-11-03 18:24:05 -05001# Copyright 2020-present Open Networking Foundation
2#
Ajay Lotan Thakur03189d22022-02-10 14:06:03 -06003# SPDX-License-Identifier: Apache-2.0
badhri854c028b32021-11-03 18:24:05 -05004
5images:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -07006 repository: "" #default docker hub
badhri854c028b32021-11-03 18:24:05 -05007 tags:
Ajay Lotan Thakur71115fe2022-03-03 22:26:08 -07008 init: omecproject/pod-init:1.0.0
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -06009 gnbsim: omecproject/5gc-gnbsim:main-0e4b557
badhri854c028b32021-11-03 18:24:05 -050010 pullPolicy: IfNotPresent
badhri854c028b32021-11-03 18:24:05 -050011
12nodeSelectors:
13 enabled: false
14 gnbsim:
15 label: omec-cp
16 value: enabled
17
18resources:
19 enabled: true
20 gnbsim:
21 requests:
22 cpu: 2
23 memory: 1Gi
24 limits:
25 cpu: 2
26 memory: 1Gi
27
28config:
Ajay Lotan Thakur0203c3b2022-03-21 13:40:11 -060029 useExistingConfigMap: false
badhri854c028b32021-11-03 18:24:05 -050030 clusterDomain: cluster.local
31 coreDump:
32 enabled: false
33 path: /tmp/coredump
34 gnbsim:
35 deploy: true
Badhrinath Padmanabhana0c93b72022-11-21 21:53:00 -060036 waitForAmf: true
Ajay Lotan Thakur82c4bec2022-09-02 13:51:45 -060037 serviceType: ClusterIP
Badhrinath Padmanabhana0c93b72022-11-21 21:53:00 -060038 # serviceAnnotations:
39 # external-dns.alpha.kubernetes.io/hostname: "gnbsim.tenant-site.company.com"
Hyunsun Moon2b21eb42022-03-24 01:52:22 -060040 networkTopo:
41 - upfAddr: "192.168.252.3/32"
42 upfGw: "192.168.251.1"
badhri854c028b32021-11-03 18:24:05 -050043 sriov:
Badhrinath Padmanabhana0c93b72022-11-21 21:53:00 -060044 enabled: false
Hyunsun Moon2b21eb42022-03-24 01:52:22 -060045 resourceName: "intel.com/intel_sriov_vfio"
badhri854c028b32021-11-03 18:24:05 -050046 ipam: static
Hyunsun Moon2b21eb42022-03-24 01:52:22 -060047 cniPlugin: macvlan # supported CNIs: sriov, macvlan, host-device
48 iface: data # master in macvlan or device in host-device
badhri854c028b32021-11-03 18:24:05 -050049 gnb:
Badhrinath Padmanabhana0c93b72022-11-21 21:53:00 -060050 ips:
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -060051 - '"192.168.251.5/24"' #user plane IP at gnb if 2 separate interface provided
52 - '"192.168.251.6/32"' #user plane IP at gnb if 2 separate interface provided
Ajay Lotan Thakur82c4bec2022-09-02 13:51:45 -060053 httpServer:
Ajay Lotan Thakur75ef3b82022-09-02 20:35:59 -060054 enable: false
Ajay Lotan Thakur82c4bec2022-09-02 13:51:45 -060055 ipAddr: "POD_IP"
56 port: 6000
Badhrinath Padmanabhana0c93b72022-11-21 21:53:00 -060057 nodePort:
58 enabled: false
59 port: 30091
Ajay Lotan Thakureadf7702022-09-30 00:02:58 -060060 goProfile:
Ajay Lotan Thakur484545b2022-02-28 14:39:16 -060061 enable: true
62 port: 5000
badhri854c028b32021-11-03 18:24:05 -050063 ngapp:
64 port: 38412
65 nodePort:
66 enabled: false
67 port: 30071
68 yamlCfgFiles:
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -060069 gnb.conf:
badhri854c028b32021-11-03 18:24:05 -050070 info:
71 version: 1.0.0
72 description: gNodeB sim initial configuration
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -060073 logger:
74 logLevel: info # how detailed the log will be, values: trace, debug, info, warn, error, fatal, panic
badhri854c028b32021-11-03 18:24:05 -050075 configuration:
Badhrinath Padmanabhan2354db52022-11-23 18:24:10 -060076 runConfigProfilesAtStart: true
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -060077 singleInterface: #this will be added thorugh configmap script
78 execInParallel: false #run all profiles in parallel
badhri854c028b32021-11-03 18:24:05 -050079 gnbs: # pool of gNodeBs
80 gnb1:
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -060081 n2IpAddr: # gNB N2 interface IP address used to connect to AMF
badhri854c028b32021-11-03 18:24:05 -050082 n2Port: 9487 # gNB N2 Port used to connect to AMF
83 n3IpAddr: 192.168.251.5 # gNB N3 interface IP address used to connect to UPF
84 n3Port: 2152 # gNB N3 Port used to connect to UPF
85 name: gnb1 # gNB name that uniquely identify a gNB within application
Vini Gajjaraf6abca2021-11-30 19:37:47 +053086 globalRanId:
87 plmnId:
88 mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
89 mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -060090 gNbId:
Vini Gajjaraf6abca2021-11-30 19:37:47 +053091 bitLength: 24
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -060092 gNBValue: "000102" # gNB identifier (3 bytes hex string, range: 000000~FFFFFF)
Vini Gajjaraf6abca2021-11-30 19:37:47 +053093 supportedTaList:
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -060094 - tac: "000001" # Tracking Area Code (3 bytes hex string, range: 000000~FFFFFF)
Vini Gajjaraf6abca2021-11-30 19:37:47 +053095 broadcastPlmnList:
96 - plmnId:
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -060097 mcc: 208
Vini Gajjaraf6abca2021-11-30 19:37:47 +053098 mnc: 93
99 taiSliceSupportList:
100 - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -0600101 sd: "010203" # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
badhri854c028b32021-11-03 18:24:05 -0500102 defaultAmf:
103 hostName: amf # Host name of AMF
104 ipAddr: # AMF IP address
105 port: 38412 # AMF port
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -0600106 gnb2:
107 n2IpAddr: # gNB N2 interface IP address used to connect to AMF
108 n2Port: 9488 # gNB N2 Port used to connect to AMF
109 n3IpAddr: 192.168.251.6 # gNB N3 interface IP address used to connect to UPF
110 n3Port: 2152 # gNB N3 Port used to connect to UPF
111 name: gnb2 # gNB name that uniquely identify a gNB within application
112 globalRanId:
113 plmnId:
114 mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
115 mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
116 gNbId:
117 bitLength: 24
118 gNBValue: "000112" # gNB identifier (3 bytes hex string, range: 000000~FFFFFF)
119 supportedTaList:
120 - tac: "000001" # Tracking Area Code (3 bytes hex string, range: 000000~FFFFFF)
121 broadcastPlmnList:
122 - plmnId:
123 mcc: 208
124 mnc: 93
125 taiSliceSupportList:
126 - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
127 sd: "010203" # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
128 defaultAmf:
129 hostName: amf # Host name of AMF
130 ipAddr: # AMF IP address
131 port: 38412 # AMF port
badhri854c028b32021-11-03 18:24:05 -0500132 profiles: # profile information
133 - profileType: register # profile type
134 profileName: profile1 # uniqely identifies a profile within application
135 enable: false # Set true to execute the profile, false otherwise.
136 gnbName: gnb1 # gNB to be used for this profile
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600137 execInParallel: false #run all subscribers in this profile parallel
138 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -0600139 startImsi: 208930100007487 #First IMSI. Subsequent values will be used if ueCount is mo re than 1
badhri854c028b32021-11-03 18:24:05 -0500140 ueCount: 5 # Number of UEs for for which the profile will be executed
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600141 defaultAs: "192.168.250.1" #default icmp pkt destination
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600142 opc: "981d464c7c52eb6e5036234984ad0bcf"
143 key: "5122250214c33e723a5dd523fc145fc0"
badhri854c028b32021-11-03 18:24:05 -0500144 plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
145 mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
146 mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
147 - profileType: pdusessest
148 profileName: profile2
149 enable: true
150 gnbName: gnb1
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600151 execInParallel: false #run all subscribers in this profile parallel
152 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -0600153 startImsi: 208930100007492
badhri854c028b32021-11-03 18:24:05 -0500154 ueCount: 5
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600155 opc: "981d464c7c52eb6e5036234984ad0bcf"
156 key: "5122250214c33e723a5dd523fc145fc0"
badhri854c028b32021-11-03 18:24:05 -0500157 plmnId:
158 mcc: 208
159 mnc: 93
160 dataPktCount: 5 # Number of UL user data packets to be transmitted. Common for all UEs
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600161 defaultAs: "192.168.250.1" #default icmp pkt destination
Vini Gajjar6cd5c622021-12-17 09:43:40 +0530162 - profileType: anrelease
badhri854c028b32021-11-03 18:24:05 -0500163 profileName: profile3
164 enable: false
165 gnbName: gnb1
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600166 execInParallel: false #run all subscribers in this profile parallel
167 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -0600168 startImsi: 208930100007497
badhri854c028b32021-11-03 18:24:05 -0500169 ueCount: 5
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600170 opc: "981d464c7c52eb6e5036234984ad0bcf"
171 key: "5122250214c33e723a5dd523fc145fc0"
badhri854c028b32021-11-03 18:24:05 -0500172 plmnId:
Vini Gajjaraf6abca2021-11-30 19:37:47 +0530173 mcc: 208
174 mnc: 93
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600175 defaultAs: "192.168.250.1" #default icmp pkt destination
Vini Gajjar4dff76a2022-01-24 10:29:29 +0000176 - profileType: uetriggservicereq
177 profileName: profile4
178 enable: false
179 gnbName: gnb1
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600180 execInParallel: false #run all subscribers in this profile parallel
181 stepTrigger: false #wait for trigger to move to next step
Vini Gajjar4dff76a2022-01-24 10:29:29 +0000182 startImsi: 208930100007497
183 ueCount: 5
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600184 opc: "981d464c7c52eb6e5036234984ad0bcf"
185 key: "5122250214c33e723a5dd523fc145fc0"
Vini Gajjar4dff76a2022-01-24 10:29:29 +0000186 plmnId:
187 mcc: 208
188 mnc: 93
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600189 defaultAs: "192.168.250.1" #default icmp pkt destination
Vini Gajjar6cd5c622021-12-17 09:43:40 +0530190 - profileType: deregister
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600191 profileName: profile5
Vini Gajjar6cd5c622021-12-17 09:43:40 +0530192 enable: false
193 gnbName: gnb1
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600194 execInParallel: false #run all subscribers in this profile parallel
195 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakurb9b6ed32022-03-02 00:17:19 -0600196 startImsi: 208930100007497
Vini Gajjar6cd5c622021-12-17 09:43:40 +0530197 ueCount: 5
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600198 opc: "981d464c7c52eb6e5036234984ad0bcf"
199 key: "5122250214c33e723a5dd523fc145fc0"
Vini Gajjar6cd5c622021-12-17 09:43:40 +0530200 plmnId:
201 mcc: 208
202 mnc: 93
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600203 defaultAs: "192.168.250.1" #default icmp pkt destination
204 - profileType: nwtriggeruedereg # profile type
205 profileName: profile6 # uniqely identifies a profile within application
206 enable: false # Set true to execute the profile, false otherwise.
207 gnbName: gnb1 # gNB to be used for this profile
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600208 execInParallel: false #run all subscribers in this profile parallel
209 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600210 startImsi: 208930100007497 # First IMSI. Subsequent values will be used if ueCount is more than 1
211 ueCount: 5 # Number of UEs for for which the profile will be executed
212 defaultAs: "192.168.250.1" #default icmp pkt destination
213 perUserTimeout: 100 #if no expected event received in this time then treat it as failure
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600214 opc: "981d464c7c52eb6e5036234984ad0bcf"
215 key: "5122250214c33e723a5dd523fc145fc0"
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600216 plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>. Should match startImsi
217 mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
218 mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
219 - profileType: uereqpdusessrelease # profile type
220 profileName: profile7 # uniqely identifies a profile within application
221 enable: false # Set true to execute the profile, false otherwise.
222 gnbName: gnb1 # gNB to be used for this profile
Ajay Lotan Thakur25c27622022-10-06 15:22:45 -0600223 execInParallel: false #run all subscribers in this profile parallel
224 stepTrigger: false #wait for trigger to move to next step
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600225 startImsi: 208930100007497 # First IMSI. Subsequent values will be used if ueCount is more than 1
226 ueCount: 5 # Number of UEs for for which the profile will be executed
Ajay Lotan Thakureb879c42022-06-09 17:37:24 -0600227 opc: "981d464c7c52eb6e5036234984ad0bcf"
228 key: "5122250214c33e723a5dd523fc145fc0"
Ajay Lotan Thakur84ddbea2022-03-21 16:07:16 -0600229 plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>. Should match startImsi
230 mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
231 mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
232 defaultAs: "192.168.250.1" #default icmp pkt destination
Vijaya Tiruveedula56f595f2022-10-27 05:28:50 -0600233 - profileType: pdusessest
234 profileName: profile8
235 enable: true
236 gnbName: gnb2
237 execInParallel: false #run all subscribers in this profile parallel
238 stepTrigger: false #wait for trigger to move to next step
239 startImsi: 208930100007501
240 ueCount: 5
241 opc: "981d464c7c52eb6e5036234984ad0bcf"
242 key: "5122250214c33e723a5dd523fc145fc0"
243 plmnId:
244 mcc: 208
245 mnc: 93
246 dataPktCount: 5 # Number of UL user data packets to be transmitted. Common for all UEs
247 defaultAs: "192.168.250.1" #default icmp pkt destination