Commit 96818106 authored by Sagar Arora's avatar Sagar Arora 🚴🏻
Browse files

Changes in the name of log files in results folder

parent 1cdfdcb4
...@@ -22,7 +22,7 @@ services: ...@@ -22,7 +22,7 @@ services:
ipv4_address: 192.168.70.131 ipv4_address: 192.168.70.131
oai-amf: oai-amf:
container_name: "oai-amf" container_name: "oai-amf"
image: oai-amf:multi-pdu image: oai-amf:develop
environment: environment:
- TZ=Europe/paris - TZ=Europe/paris
- INSTANCE=0 - INSTANCE=0
...@@ -119,7 +119,7 @@ services: ...@@ -119,7 +119,7 @@ services:
ipv4_address: 192.168.70.133 ipv4_address: 192.168.70.133
oai-spgwu: oai-spgwu:
container_name: "oai-spgwu" container_name: "oai-spgwu"
image: oai-spgwu:gtp-ext-header image: oai-spgwu-tiny:gtp-ext-header
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
- PID_DIRECTORY=/var/run - PID_DIRECTORY=/var/run
......
...@@ -139,7 +139,7 @@ services: ...@@ -139,7 +139,7 @@ services:
ipv4_address: 192.168.70.133 ipv4_address: 192.168.70.133
oai-spgwu: oai-spgwu:
container_name: "oai-spgwu" container_name: "oai-spgwu"
image: oai-spgwu:gtp-ext-header image: oai-spgwu-tiny:gtp-ext-header
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
- PID_DIRECTORY=/var/run - PID_DIRECTORY=/var/run
......
...@@ -79,13 +79,13 @@ Here in our network configuration, we need to pass the "GIT PROXY" configuration ...@@ -79,13 +79,13 @@ Here in our network configuration, we need to pass the "GIT PROXY" configuration
## 3.1 On a Ubuntu 18.04 Host ## ## 3.1 On a Ubuntu 18.04 Host ##
```bash ```bash
$ docker build --target oai-amf --tag oai-amf:production \ $ docker build --target oai-amf --tag oai-amf:develop \
--file component/oai-amf/docker/Dockerfile.ubuntu.18.04 \ --file component/oai-amf/docker/Dockerfile.ubuntu.18.04 \
--build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" \ --build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" \
component/oai-amf component/oai-amf
$ docker image prune --force $ docker image prune --force
$ docker image ls $ docker image ls
oai-amf production f478bafd7a06 1 minute ago 258MB oai-amf develop f478bafd7a06 1 minute ago 258MB
... ...
``` ```
...@@ -94,13 +94,13 @@ oai-amf production f478bafd7a06 1 minute ago ...@@ -94,13 +94,13 @@ oai-amf production f478bafd7a06 1 minute ago
## 4.1 On a Ubuntu 18.04 Host ## ## 4.1 On a Ubuntu 18.04 Host ##
```bash ```bash
$ docker build --target oai-smf --tag oai-smf:production \ $ docker build --target oai-smf --tag oai-smf:develop \
--file component/oai-smf/docker/Dockerfile.ubuntu.18.04 \ --file component/oai-smf/docker/Dockerfile.ubuntu.18.04 \
--build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" \ --build-arg NEEDED_GIT_PROXY="http://proxy.eurecom.fr:8080" \
component/oai-smf component/oai-smf
$ docker image prune --force $ docker image prune --force
$ docker image ls $ docker image ls
oai-smf production f478bafd7a06 1 minute ago 274MB oai-smf develop f478bafd7a06 1 minute ago 274MB
... ...
``` ```
...@@ -109,12 +109,12 @@ oai-smf production f478bafd7a06 1 minute ago ...@@ -109,12 +109,12 @@ oai-smf production f478bafd7a06 1 minute ago
## 5.1 On a Ubuntu 18.04 Host ## ## 5.1 On a Ubuntu 18.04 Host ##
```bash ```bash
$ docker build --target oai-nrf --tag oai-nrf:production \ $ docker build --target oai-nrf --tag oai-nrf:develop \
--file component/oai-nrf/ci-scripts/Dockerfile.ubuntu18.04 \ --file component/oai-nrf/ci-scripts/Dockerfile.ubuntu18.04 \
--build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-nrf --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-nrf
$ docker image prune --force $ docker image prune --force
$ docker image ls $ docker image ls
oai-nrf production 04334b29e103 1 minute ago 280MB oai-nrf develop 04334b29e103 1 minute ago 280MB
... ...
``` ```
...@@ -124,12 +124,12 @@ oai-nrf production 04334b29e103 1 minute ago ...@@ -124,12 +124,12 @@ oai-nrf production 04334b29e103 1 minute ago
## 6.1 On a Ubuntu 18.04 Host ## ## 6.1 On a Ubuntu 18.04 Host ##
```bash ```bash
$ docker build --target oai-spgwu-tiny --tag oai-spgwu-tiny:production \ $ docker build --target oai-spgwu-tiny --tag oai-spgwu-tiny:gtp-ext-header \
--file component/oai-upf-equivalent/ci-scripts/Dockerfile.ubuntu18.04 \ --file component/oai-upf-equivalent/ci-scripts/Dockerfile.ubuntu18.04 \
--build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-upf-equivalent --build-arg EURECOM_PROXY="http://proxy.eurecom.fr:8080" component/oai-upf-equivalent
$ docker image prune --force $ docker image prune --force
$ docker image ls $ docker image ls
oai-spgwu-tiny production dec6311cef3b 1 minute ago 255MB oai-spgwu-tiny gtp-ext-header dec6311cef3b 1 minute ago 255MB
... ...
``` ```
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
7. [Executing dsTest Scenario](#7-executing-the-dstest-scenario) 7. [Executing dsTest Scenario](#7-executing-the-dstest-scenario)
8. [Analysing Scenario Results](#8-analysing-the-scenario-results) 8. [Analysing Scenario Results](#8-analysing-the-scenario-results)
9. [Demo Video](#9-demo-video) 9. [Demo Video](#9-demo-video)
10. [Note](#10-note) 10. [Notes](#10-notes)
## 1. Pre-requisites ## ## 1. Pre-requisites ##
...@@ -189,6 +189,7 @@ The new version of `wireshark` may not be available in the ubuntu repository so ...@@ -189,6 +189,7 @@ The new version of `wireshark` may not be available in the ubuntu repository so
- The core network is deployed using a [bash script](../docker-compose/core-network.sh) which is a wrapper around `docker-compose` and `docker` command. - The core network is deployed using a [bash script](../docker-compose/core-network.sh) which is a wrapper around `docker-compose` and `docker` command.
- The script informs the user when the core-network is correctly configured by checking health status of containers and connectivity between different core network components. - The script informs the user when the core-network is correctly configured by checking health status of containers and connectivity between different core network components.
- In case if there is a problem in using the script then use docker-compose manually read the [notes section](#10-notes)
- If the script is executed without any arguments then the helper menu is visible - If the script is executed without any arguments then the helper menu is visible
```bash ```bash
...@@ -296,14 +297,14 @@ This section is subdivided in two parts the first part for analysing the message ...@@ -296,14 +297,14 @@ This section is subdivided in two parts the first part for analysing the message
| Pcap/log files | | Pcap/log files |
|:----------------------------------------------------------------- | |:------------------------------------------------------------------------------------------ |
| [5gcn-deployment.pcap](./results/pcap/5gcn-deployment.pcap) | | [5gcn-deployment.pcap](./results/pcap/5gcn-deployment.pcap) |
| [scenario-execution.pcap](./results/pcap/scenario-execution.pcap) | | [scenario-execution.pcap](./results/pcap/scenario-execution.pcap) |
| [amf.log](./results/logs/amf.log) | | [amf.log](./results/logs/amf.log), [initialmessage.log](./results/logs/initialmessage.log) |
| [smf.log](./results/logs/smf.log) | | [smf.log](./results/logs/smf.log) |
| [nrf.log](./results/logs/nrf.log) | | [nrf.log](./results/logs/nrf.log) |
| [spgwu.log](./results/logs/spgwu.log) | | [spgwu.log](./results/logs/spgwu.log) |
### Analysing initial message exchange ### Analysing initial message exchange
...@@ -354,4 +355,13 @@ Using wireshark open scenario-execution.pcap use the filter ngap || http || pfcp ...@@ -354,4 +355,13 @@ Using wireshark open scenario-execution.pcap use the filter ngap || http || pfcp
- There is a possibility to perform the same test or setup the core network without nrf by using `docker-compose/docker-compose-no-nrf.yaml`. Check the configuration before using the compose file. - There is a possibility to perform the same test or setup the core network without nrf by using `docker-compose/docker-compose-no-nrf.yaml`. Check the configuration before using the compose file.
- This tutorial can be taken as reference to test the OAI 5G core with a COTS UE. The configuration files has to be changed according to the gNB and COTS UE information should be present in the mysql database. - This tutorial can be taken as reference to test the OAI 5G core with a COTS UE. The configuration files has to be changed according to the gNB and COTS UE information should be present in the mysql database.
- Generally, in a COTS UE two PDN sessions are created by default so configure the IMS in SMF properly. Currently some parameters can not be configured via [docker-compose.yaml](../docker-compose/docker-compose.yaml). We recommend you directly configure them in the conf file and mount the file in the docker during run time. - Generally, in a COTS UE two PDN sessions are created by default so configure the IMS in SMF properly. Currently some parameters can not be configured via [docker-compose.yaml](../docker-compose/docker-compose.yaml). We recommend you directly configure them in the conf file and mount the file in the docker during run time.
- Its not necessary to use ./core-network.sh script you can directly deploy using `docker-compose` command - Its not necessary to use [core-network.sh](../docker-compose/core-network.sh) bash script, it is possible to directly deploy using `docker-compose` command
\ No newline at end of file
```
#To start the containers
docker-compose -f <file-name> -p <project-name> up -d
#To check their health status
docker-compose -f <file-name> -p <project-name> ps -a
#To stop the containers
docker-compose -f <file-name> -p <project-name> down
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment