From 623453d88187f2f8a19e41668c9fc7b9d647c19a Mon Sep 17 00:00:00 2001 From: Nacho Mata Date: Fri, 13 Dec 2024 19:04:54 +0100 Subject: [PATCH] Use latest srsRAN gnb config file syntax (#398) --- srsran/gnb.yml | 17 +++++++++++++---- srsran/gnb_zmq.yml | 17 +++++++++++++---- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/srsran/gnb.yml b/srsran/gnb.yml index bf401c2d..cd68d9a5 100644 --- a/srsran/gnb.yml +++ b/srsran/gnb.yml @@ -1,6 +1,13 @@ -amf: - addr: AMF_IP # The address or hostname of the AMF. - bind_addr: SRS_GNB_IP # A local IP that the gNB binds to for traffic from the AMF. +cu_cp: + amf: + addr: AMF_IP # The address or hostname of the AMF. + bind_addr: SRS_GNB_IP # A local IP that the gNB binds to for traffic from the AMF. + supported_tracking_areas: # Sets the list of tracking areas supported by this AMF. + - tac: 1 # Tracking area code (needs to match the core configuration). + plmn_list: # The list of PLMN items supported for this Tracking Area. + - plmn: "PLMN" # PLMN broadcasted by the gNB. + tai_slice_support_list: # The list of TAI slices for this PLMN item. + - sst: 1 # Sets the Slice Service Type. ru_sdr: device_driver: uhd # The RF driver name. @@ -35,6 +42,8 @@ pcap: e1ap_enable: false # Set to true to enable E1AP PCAPs. e1ap_filename: /mnt/srsran/gnb_e1ap.pcap # Path where the E1AP PCAP is stored. e2ap_enable: false # Set to true to enable E2AP PCAPs. - e2ap_filename: /mnt/srsran/gnb_e2ap.pcap # Path where the E2AP PCAP is stored. + e2ap_cu_cp_filename: /mnt/srsran/cu_cp_e2ap.pcap # Path where E2AP CU-CP PCAP is stored. + e2ap_cu_up_filename: /mnt/srsran/cu_up_e2ap.pcap # Path where E2AP CU-UP PCAP is stored. + e2ap_du_filename: /mnt/srsran/du_e2ap.pcap # Path where E2AP CU PCAP is stored. n3_enable: false # Set to true to enable N3 PCAPs. n3_filename: /mnt/srsran/gnb_n3.pcap # Path where the N3 PCAP is stored. diff --git a/srsran/gnb_zmq.yml b/srsran/gnb_zmq.yml index 395c8d16..0e1adfab 100644 --- a/srsran/gnb_zmq.yml +++ b/srsran/gnb_zmq.yml @@ -1,6 +1,13 @@ -amf: - addr: AMF_IP # The address or hostname of the AMF. - bind_addr: SRS_GNB_IP # A local IP that the gNB binds to for traffic from the AMF. +cu_cp: + amf: + addr: AMF_IP # The address or hostname of the AMF. + bind_addr: SRS_GNB_IP # A local IP that the gNB binds to for traffic from the AMF. + supported_tracking_areas: # Sets the list of tracking areas supported by this AMF. + - tac: 1 # Tracking area code (needs to match the core configuration). + plmn_list: # The list of PLMN items supported for this Tracking Area. + - plmn: "PLMN" # PLMN broadcasted by the gNB. + tai_slice_support_list: # The list of TAI slices for this PLMN item. + - sst: 1 # Sets the Slice Service Type. ru_sdr: device_driver: zmq # The RF driver name. @@ -41,6 +48,8 @@ pcap: e1ap_enable: false # Set to true to enable E1AP PCAPs. e1ap_filename: /mnt/srsran/gnb_e1ap.pcap # Path where the E1AP PCAP is stored. e2ap_enable: false # Set to true to enable E2AP PCAPs. - e2ap_filename: /mnt/srsran/gnb_e2ap.pcap # Path where the E2AP PCAP is stored. + e2ap_cu_cp_filename: /mnt/srsran/cu_cp_e2ap.pcap # Path where E2AP CU-CP PCAP is stored. + e2ap_cu_up_filename: /mnt/srsran/cu_up_e2ap.pcap # Path where E2AP CU-UP PCAP is stored. + e2ap_du_filename: /mnt/srsran/du_e2ap.pcap # Path where E2AP CU PCAP is stored. n3_enable: false # Set to true to enable N3 PCAPs. n3_filename: /mnt/srsran/gnb_n3.pcap # Path where the N3 PCAP is stored.