Skip to content
Snippets Groups Projects
Commit cff731f0 authored by Your Name's avatar Your Name
Browse files
parents 722705fa 22863ef6
No related branches found
No related tags found
No related merge requests found
...@@ -305,17 +305,13 @@ gedit /home/dco1020/oai-cn5g-fed/docker-compose/database/oai_db2.sql ...@@ -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). 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.
![ALT](/openairinterface5g/openairinterface-conf/fig/demo_oai.png) ![ALT](/openairinterface5g/openairinterface-conf/fig/slice1_configuration.png)
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). ![ALT](/openairinterface5g/openairinterface-conf/fig/ue_parameters_p2.png)
## UE 2 Configurations ## UE 2 Configurations
...@@ -366,6 +362,46 @@ The UE parameters (figure below) must be equal to the OAI SMF parameters in the ...@@ -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 > 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.
![ALT](/openairinterface5g/openairinterface-conf/fig/ue_parameters.png)
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 !
![ALT](/openairinterface5g/openairinterface-conf/fig/db_file.png)
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
![ALT](/openairinterface5g/openairinterface-conf/fig/UE_config_03.png)
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.
![ALT](/openairinterface5g/openairinterface-conf/fig/slice1_configuration.png)
The UE parameters (figure below) must be equal to the slice 1 configuration file parameters in the template, as illustrated in the figure below.
![ALT](/openairinterface5g/openairinterface-conf/fig/ue_parameters_p2.png)
## Scenario deployment ## Scenario deployment
![ALT](/openairinterface5g/openairinterface-conf/fig/slice_deployment.png) ![ALT](/openairinterface5g/openairinterface-conf/fig/slice_deployment.png)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment