* In this demo the image tags and commits which were used are listed below, follow the [Building images](./BUILD_IMAGES.md) to build images with below tags.
* In this demo the image tags and commits which were used are listed below, follow the [Building images](./BUILD_IMAGES.md) to build images with below tags.
...
@@ -75,7 +74,7 @@ As shown in figure above, there are 3 S-NSSAIs configured (Can be differentiated
...
@@ -75,7 +74,7 @@ As shown in figure above, there are 3 S-NSSAIs configured (Can be differentiated
Here AMF, NSSF, UDM, UDR, AUSF are common to all slices. SMF and UPF in S-NSSAI 2 and 3 have same NRF hence both UPFs are discoverable to both SMF. You can verify in the logs that both SMFs are successfullt associated to both UPFs in S-NSSAI 2 and 3. Here number of SMFs/UPFs for registered under single NRF is part of operator network planning.<br/>
Here AMF, NSSF, UDM, UDR, AUSF are common to all slices. SMF and UPF in S-NSSAI 2 and 3 have same NRF hence both UPFs are discoverable to both SMF. You can verify in the logs that both SMFs are successfullt associated to both UPFs in S-NSSAI 2 and 3. Here number of SMFs/UPFs for registered under single NRF is part of operator network planning.<br/>
######Let's begin !!
######Let's begin !!
* Steps 1 to 4 are similar as previous tutorials such as [minimalist](./DEPLOY_SA5G_MINI_DS_TESTER_DEPLOYMENT.md) or [basic](./DEPLOY_SA5G_BASIC_DS_TESTER_DEPLOYMENT.md) deployments. Please follow these steps to deploy OAI 5G core network components.
* Steps 1 to 4 are similar as previous tutorials such as [minimalist](./DEPLOY_SA5G_MINI_DS_TESTER_DEPLOYMENT.md) or [basic](./DEPLOY_SA5G_BASIC_DS_TESTER_DEPLOYMENT.md) deployments. Please follow these steps to deploy OAI 5G core network components.
We are using 3 different ran simulators viz.ueransim, rfsimulator and gnbsim for slice 2,3 and 4 repectively. Each of them has there set of features, and one can use as per need basis. You can pull docker images from official repositories as below -
We are using 3 different ran simulators viz.[ueransim](https://github.com/aligungr/UERANSIM), [rfsimulator](https://gitlab.eurecom.fr/oai/openairinterface5g/-/tree/develop/ci-scripts/yaml_files/5g_rfsimulator) and [gnbsim](https://gitlab.eurecom.fr/kharade/gnbsim) for slice 2,3 and 4 repectively. Each of them has there set of features, and one can use as per need basis (For the moment, rfsimulator is validated with multiplr UEs for this tutorial). You can pull docker images from official repositories as below -
```bash
```bash
$ docker pull rohankharade/gnbsim:latest
$ docker pull rohankharade/gnbsim:latest
...
@@ -145,7 +144,8 @@ $ docker image tag rdefosseoai/oai-nr-ue:develop oai-nr-ue:develop
...
@@ -145,7 +144,8 @@ $ docker image tag rdefosseoai/oai-nr-ue:develop oai-nr-ue:develop
```
```
## 7. Executing `ransim` Scenario ##
## 7. Executing `ransim` Scenario ##
We run first, ueransim, gnbsim and rfsimulator gnb then rfsimulator UEs. Here we deploy rfsimulator UEs later as we need to make sure rfsimulator gnb is connected to AMF successfully.
We run first, ueransim, gnbsim, rfsimulator gnb and rfsim5g-oai-nr-ue1 first. Here we deploy rfsim5g-oai-nr-ue2 later as we need to make sure rfsimulator gnb/ue is connected to AMF successfully (As rfsimulator simulates complete protocol stack and radio interface, it is bit resource intensive).
```bash
```bash
oai-cn5g-fed/docker-compose$ docker-compose -f docker-compose-slicing-ransim.yaml up -d gnbsim ueransim oai-gnb oai-nr-ue1
oai-cn5g-fed/docker-compose$ docker-compose -f docker-compose-slicing-ransim.yaml up -d gnbsim ueransim oai-gnb oai-nr-ue1
Creating gnbsim ... done
Creating gnbsim ... done
...
@@ -198,6 +198,8 @@ After successful deployment we can verify at AMF that all gnbs and ues are succe
...
@@ -198,6 +198,8 @@ After successful deployment we can verify at AMF that all gnbs and ues are succe
## 8. Traffic Test ##
## 8. Traffic Test ##
In this section we perform traffic test between oai-ext-dn node and Ues <br/>
OAI 5G CN also supports UE with multiple slice, Appereantly ransimulators that we have validated are does not support UE with multiple slice at a time.
Hence, we have validated this feature using commercial testing tool [dsTest](https://www.developingsolutions.com/products/about-dstest/). This test case is integrated in our [CI pipeline for NSSF](https://jenkins-oai.eurecom.fr/view/CN5G/job/OAI-CN5G-NSSF/) and AMF. Pipeline triggers deployement scenario as shown in figure below with two slices. During PDU session establishment request, AMF queries NSSF for NSI information with appropriate NRF Id. And then again corresponding SMF anf UPF is slected in the NSI, based on S-NSSAI provided. You can verify this scenario from the [pcap](https://jenkins-oai.eurecom.fr/view/CN5G/job/OAI-CN5G-NSSF/lastSuccessfulBuild/artifact/docker_logs.zip).