diff --git a/openairinterface5g/openairinterface-install-scripts/README.md b/openairinterface5g/openairinterface-install-scripts/README.md index 96179b41abd23050766d2dce8c56b4417de86221..c4a39ae870e853f3dbce7859bd5899afd2d664af 100644 --- a/openairinterface5g/openairinterface-install-scripts/README.md +++ b/openairinterface5g/openairinterface-install-scripts/README.md @@ -305,17 +305,13 @@ gedit /home/dco1020/oai-cn5g-fed/docker-compose/database/oai_db2.sql Or use a SQLLite database visualizer like DB Browser (to install: sudo apt install sqlitebrowser -y). -The last three lines of the file are composed of DNN (Data Network Name), N-SSAI SST (Network Slice Selection Assistance Information Slice/Service Type), N-SSAI SD (Network Slice Selection Assistance Information Slice/Service Type). To configure these parameters you will explore the docker-compose file (/home/dco1020/oai-cn5g-fed/docker-compose/docker-compose-basic-nrf.yaml), shown in figure below. +The last three lines of the file are composed of DNN (Data Network Name), N-SSAI SST (Network Slice Selection Assistance Information Slice/Service Type), N-SSAI SD (Network Slice Selection Assistance Information Slice/Service Type). To configure these parameters you will explore the configuration files for each slice, in this case here, we are going to configure the UE for the slice 1 (/home/dco1020/oai-cn5g-fed/docker-compose/conf/slicing_slice1_config.yaml), shown in figure below. - - -The UE parameters (figure below) must be equal to the OAI SMF parameters in the docker-compose file, as illustrated in the figure below. - - "DNN_NI0" refers to "dnn" - - "NSSAI_SST0" refers to "nssai_sst" - - "NSSAI_SD0" refers to "nssai_sd" (the "NSSAI_SD0" parameter is in hexadecimal, but in the "nssai_sd" parameter you have to use decimal values) + +The UE parameters (figure below) must be equal to the slice 1 configuration file parameters in the template, as illustrated in the figure below. -**Note:** In this version of the tutorial, the network slice is limited a just one slice (DNN=oai), because we do not use the NSSF (Network Slice Selection Function). + ## UE 2 Configurations @@ -366,6 +362,46 @@ The UE parameters (figure below) must be equal to the OAI SMF parameters in the > cp /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf +**Step 12:** Configure the IMSI, Permanent Key and OPC + +This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters. + + + +You need to check in the docker-compose file (/home/dco1020/oai-cn5g-fed/docker-compose/database/oai_db2.sql) which SQL file the core is using. See figure below. + +Important: The IMSI must be different between the EUs ! + + + +Verify/change the parameters in UE file (/home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf) according to the SQL file illustrated in figure below. The parameters are: + - "ueid" refers to "imsi" + - "encPermanentKey" refers to "key" + - "encOpcKey" refers to "opc + + + +To open UE file, type: + +gedit /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf + +To open Docker Composer file, type: + +gedit /home/dco1020/oai-cn5g-fed/docker-compose/docker-compose-slicing-basic-nrf.yaml + +To see sqlFile, type in a terninal. + +gedit /home/dco1020/oai-cn5g-fed/docker-compose/database/oai_db2.sql + +Or use a SQLLite database visualizer like DB Browser (to install: sudo apt install sqlitebrowser -y). + +The last three lines of the file are composed of DNN (Data Network Name), N-SSAI SST (Network Slice Selection Assistance Information Slice/Service Type), N-SSAI SD (Network Slice Selection Assistance Information Slice/Service Type). To configure these parameters you will explore the configuration files for each slice, in this case here, we are going to configure the UE for the slice 1 (/home/dco1020/oai-cn5g-fed/docker-compose/conf/slicing_slice1_config.yaml), shown in figure below. + + + +The UE parameters (figure below) must be equal to the slice 1 configuration file parameters in the template, as illustrated in the figure below. + + ## Scenario deployment 