Add 5g-test target to run gnbsim
Change-Id: I260b0ba8a2de372c793797c2907e80f0bc3f96cd
diff --git a/ransim-values.yaml b/ransim-values.yaml
index 00bb745..c3e3cfa 100644
--- a/ransim-values.yaml
+++ b/ransim-values.yaml
@@ -4,3 +4,80 @@
resources:
enabled: false
+
+config:
+ gnbsim:
+ yamlCfgFiles:
+ gnb.conf: |
+ info:
+ version: 1.0.0
+ description: gNodeB sim initial configuration
+ configuration:
+ gnbs: # pool of gNodeBs
+ gnb1:
+ n2IpAddr: # gNB N2 interface IP address used to connect to AMF
+ n2Port: 9487 # gNB N2 Port used to connect to AMF
+ n3IpAddr: 192.168.251.5 # gNB N3 interface IP address used to connect to UPF
+ n3Port: 2152 # gNB N3 Port used to connect to UPF
+ name: gnb1 # gNB name that uniquely identify a gNB within application
+ globalRanId:
+ plmnId:
+ mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
+ mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
+ gNbId:
+ bitLength: 24
+ gNBValue: 000102 # gNB identifier (3 bytes hex string, range: 000000~FFFFFF)
+ supportedTaList:
+ - tac: 000001 # Tracking Area Code (3 bytes hex string, range: 000000~FFFFFF)
+ broadcastPlmnList:
+ - plmnId:
+ mcc: 208
+ mnc: 93
+ taiSliceSupportList:
+ - sst: 1 # Slice/Service Type (uinteger, range: 0~255)
+ sd: 010203 # Slice Differentiator (3 bytes hex string, range: 000000~FFFFFF)
+ defaultAmf:
+ hostName: amf # Host name of AMF
+ ipAddr: # AMF IP address
+ port: 38412 # AMF port
+
+ profiles: # profile information
+ - profileType: register # profile type
+ profileName: profile1 # uniqely identifies a profile within application
+ enable: false # Set true to execute the profile, false otherwise.
+ gnbName: gnb1 # gNB to be used for this profile
+ startImsi: 208930100007487 #First IMSI. Subsequent values will be used if ueCount is mo re than 1
+ ueCount: 5 # Number of UEs for for which the profile will be executed
+ plmnId: # Public Land Mobile Network ID, <PLMN ID> = <MCC><MNC>
+ mcc: 208 # Mobile Country Code (3 digits string, digit: 0~9)
+ mnc: 93 # Mobile Network Code (2 or 3 digits string, digit: 0~9)
+ - profileType: pdusessest
+ profileName: profile2
+ enable: true
+ gnbName: gnb1
+ startImsi: 208930100007492
+ ueCount: 5
+ plmnId:
+ mcc: 208
+ mnc: 93
+ dataPktCount: 5 # Number of UL user data packets to be transmitted. Common for all UEs
+ - profileType: anrelease
+ profileName: profile3
+ enable: false
+ gnbName: gnb1
+ startImsi: 208930100007497
+ ueCount: 5
+ plmnId:
+ mcc: 208
+ mnc: 93
+ - profileType: deregister
+ profileName: profile4
+ enable: false
+ gnbName: gnb1
+ startImsi: 208930100007497
+ ueCount: 5
+ plmnId:
+ mcc: 208
+ mnc: 93
+ logger:
+ logLevel: info # how detailed the log will be, values: trace, debug, info, warn, error, fatal, panic