From 19747b0a787fbbf5a5d79fe786132c180098661a Mon Sep 17 00:00:00 2001 From: Carlos Antonio De Lima Filho <carlos.lima.106@ufrn.edu.br> Date: Wed, 18 Jan 2023 14:46:23 +0000 Subject: [PATCH] Update the README --- .../openairinterface-conf/README.md | 35 +++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/openairinterface5g/openairinterface-conf/README.md b/openairinterface5g/openairinterface-conf/README.md index a28468fbf..6434594f5 100644 --- a/openairinterface5g/openairinterface-conf/README.md +++ b/openairinterface5g/openairinterface-conf/README.md @@ -1,14 +1,43 @@ ## OAI 5G configuration files ### CU/DU configuration - 1. Configure the values from the TAC and from the PLMN (Fig. 1). - Important: These values are contained in the OAI-AMF. In this tutorial, you can check these values inside the file /path/to/oai-cn5g-fed/docker-compose/docker-compose-nrf.yaml, after installing OAI 5G Core. + 1. Configure the values from the TAC and PLMN inside the CU and DU files(/path/to/oai/targets/PROJECTS/GENERIC-NR-5GC/CONF/) (Fig. 1). + Important: These values are contained in the container OAI-AMF configuration (/path/to/oai-cn5g-fed/docker-compose/docker-compose-nrf.yaml).  *Figure 1 - PLMN and TAC* - 2. + 2. Configure the interface N2 to connect CU with 5G Core (/path/to/oai/targets/PROJECTS/GENERIC-NR-5GC/CONF/cu) (Fig. 2) + a. You can find the OAI-AMF address inside /path/to/oai-cn5g-fed/docker-compose/docker-compose-nrf.yaml. + b. When installing Core a virtual interface(demo-oai) is created, this interface serves to connect the respective computer with OAI 5G Core. + +  + +*Figure 2 - N2 Interface* + + ### UE configuration + 1. Configure the values of: imsi, key, opc, dnn, nssai_sst, nssai_sd. + a. Inside the file /path/to/oai-cn5g-fed/docker-compose/database/oai_db.sql, you can find the values of: imsi, key, opc. + i. You can modify the SQL file changing the file name inside /path/to/oai-cn5g-fed/docker-compose/docker-compose-nrf.yaml. + b. Inside the container OAI-AMF configuration (/path/to/oai-cn5g-fed/docker-compose/docker-compose-nrf.yaml), you can find the values: dnn, nssai_sst, nssai_sd. + + ### NR Softmodem configuration + +To run the configuration CU/DU with FlexRIC, it is necessary to fix the NodeB ID in the source code. + + 1. Add "nb_id = rrc->configuration.cell_identity;" in both "else if" (Fig. 3). + + + +*Figure 3 - NR source code* + +## Script to run + 1. The script "run_SIMU_oai_ran.sh" runs the OAI CU/DU simulation with FlexRIC. + i. You can check if the CU is well connected with the command: "docker logs oai-amf". + 2. The script "run_SIMU_oai_ran_w_UE.sh" runs the simulation of OAI CU/DU,FlexRIC connected with UE. + 3. The script "run_USRP_oai_UE.sh" runs the OAI UE on the USRP. + 4. The script "run_USRP_oai_ran.sh" runs the OAI CU/DU with FlexRIC on the USRP. -- GitLab