Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
a20a6ba4
Commit
a20a6ba4
authored
3 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_SA_Tutorials_v2' into integration_2022_wk30
parents
72bf1b1d
43298fd0
Branches unavailable
2025.w14
2025.w13
2025.w12
2025.w11
2025.w10
2025.w09
2025.w08
2025.w07
2025.w06
2025.w05
2025.w04
2025.w03
2025.w02
2024.w51
2024.w50
2024.w49
2024.w48
2024.w47
2024.w46
2024.w45
2024.w44
2024.w43
2024.w42
2024.w41
2024.w40
2024.w39
2024.w38
2024.w36
2024.w35
2024.w34
2024.w33
2024.w32
2024.w31
2024.w30
2024.w29
2024.w28
2024.w27
2024.w26
2024.w25
2024.w24
2024.w23
2024.w22
2024.w21
2024.w18
2024.w17
2024.w16
2024.w15
2024.w14
2024.w13
2024.w12
2024.w11
2024.w10
2024.w09
2024.w08
2024.w06
2024.w05
2024.w04
2024.w03
2024.w02
2024.w01
2023.w51
2023.w50
2023.w49
2023.w48
2023.w47
2023.w45
2023.w43
2023.w42
2023.w41
2023.w40
2023.w39
2023.w38
2023.w37
2023.w36
2023.w34
2023.w33
2023.w32
2023.w31
2023.w30
2023.w29
2023.w28
2023.w27
2023.w26
2023.w25
2023.w24
2023.w23
2023.w22
2023.w21
2023.w20
2023.w19
2023.w18
2023.w18b
2023.w16
2023.w15
2023.w14
2023.w13
2023.w12
2023.w11
2023.w11b
2023.w10
2023.w10b
2023.w09
2023.w08
2023.w08b
2023.w07
2023.w06
2023.w05
2023.w03
2023.w02
2022.42
2022.41
2022.w51
2022.w50
2022.w49
2022.w48
2022.w47
2022.w46
2022.w45
2022.w43
2022.w42
2022.w42b
2022.w41
2022.w40
2022.w39
2022.w38
2022.w37
2022.w37b
2022.w36
2022.w35
2022.w33
2022.w32
2022.w31
2022.w31b
2022.w30
v2.2.0
v2.1.0
v2.0.0
flexran-eol
ARC_1.3
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
117 additions
and
71 deletions
+117
-71
doc/NR_SA_CN5G_gNB_B210_COTS_UE_Tutorial.md
doc/NR_SA_CN5G_gNB_B210_COTS_UE_Tutorial.md
+9
-16
doc/NR_SA_CN5G_gNB_N300_COTS_UE_Tutorial.md
doc/NR_SA_CN5G_gNB_N300_COTS_UE_Tutorial.md
+9
-16
doc/tutorial_resources/docker-compose-basic-nrf.yaml
doc/tutorial_resources/docker-compose-basic-nrf.yaml
+80
-36
doc/tutorial_resources/oai_db.sql
doc/tutorial_resources/oai_db.sql
+19
-3
No files found.
doc/NR_SA_CN5G_gNB_B210_COTS_UE_Tutorial.md
View file @
a20a6ba4
...
...
@@ -71,10 +71,6 @@ reboot
# https://docs.docker.com/compose/install/
sudo
curl
-L
"https://github.com/docker/compose/releases/download/1.29.2/docker-compose-
$(
uname
-s
)
-
$(
uname
-m
)
"
-o
/usr/local/bin/docker-compose
sudo chmod
+x /usr/local/bin/docker-compose
docker network create
--driver
=
bridge
--subnet
=
192.168.70.128/26
-o
"com.docker.network.bridge.name"
=
"demo-oai"
demo-oai-public-net
sudo
service docker restart
```
## 2.2 OAI CN5G Setup
...
...
@@ -82,39 +78,36 @@ sudo service docker restart
```
bash
# Git oai-cn5g-fed repository
git clone https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed.git ~/oai-cn5g-fed
cd
~/oai-cn5g-fed
git checkout master
./scripts/syncComponents.sh
--nrf-branch
develop
--amf-branch
develop
--smf-branch
develop
--spgwu-tiny-branch
develop
--ausf-branch
develop
--udm-branch
develop
--udr-branch
develop
--upf-vpp-branch
develop
--nssf-branch
develop
# Pull docker images
docker pull oaisoftwarealliance/oai-amf:develop
docker pull oaisoftwarealliance/oai-nrf:develop
docker pull oaisoftwarealliance/oai-smf:develop
docker pull oaisoftwarealliance/oai-udr:develop
docker pull oaisoftwarealliance/oai-udm:develop
docker pull oaisoftwarealliance/oai-ausf:develop
docker pull oaisoftwarealliance/oai-upf-vpp:develop
docker pull oaisoftwarealliance/oai-spgwu-tiny:develop
docker pull oaisoftwarealliance/
oai-nssf:develop
docker pull oaisoftwarealliance/
trf-gen-cn5g:latest
# Tag docker images
docker image tag oaisoftwarealliance/oai-amf:develop oai-amf:develop
docker image tag oaisoftwarealliance/oai-nrf:develop oai-nrf:develop
docker image tag oaisoftwarealliance/oai-smf:develop oai-smf:develop
docker image tag oaisoftwarealliance/oai-udr:develop oai-udr:develop
docker image tag oaisoftwarealliance/oai-udm:develop oai-udm:develop
docker image tag oaisoftwarealliance/oai-ausf:develop oai-ausf:develop
docker image tag oaisoftwarealliance/oai-upf-vpp:develop oai-upf-vpp:develop
docker image tag oaisoftwarealliance/oai-spgwu-tiny:develop oai-spgwu-tiny:develop
docker image tag oaisoftwarealliance/
oai-nssf:develop oai-nssf:develop
docker image tag oaisoftwarealliance/
trf-gen-cn5g:latest trf-gen-cn5g:latest
```
## 2.3 OAI CN5G Configuration files
Download and copy
the configuration files to ~/oai-cn5g-fed/docker-compose
:
-
[
docker-compose-basic-nrf.yaml
](
tutorial_resources/docker-compose-basic-nrf.yaml
)
-
[
oai_db.sql
](
tutorial_resources/oai_db.sql
)
Download and copy
configuration files
:
-
Copy
[
docker-compose-basic-nrf.yaml
](
tutorial_resources/docker-compose-basic-nrf.yaml
)
to
`~/oai-cn5g-fed/docker-compose`
-
Copy
[
oai_db.sql
](
tutorial_resources/oai_db.sql
)
to
`~/oai-cn5g-fed/docker-compose/database`
Change permissions on oai_db.sql to prevent mysql permission denied error:
```
bash
chmod
644 ~/oai-cn5g-fed/docker-compose/oai_db.sql
chmod
644 ~/oai-cn5g-fed/docker-compose/
database/
oai_db.sql
```
## 2.4 SIM Card
...
...
@@ -175,7 +168,7 @@ cd cmake_targets
```
bash
cd
~/oai-cn5g-fed/docker-compose
python3 core-network.py
--type
start-basic
--
fqdn
yes
--
scenario
1
python3 core-network.py
--type
start-basic
--scenario
1
```
## 4.2 Run OAI gNB
...
...
This diff is collapsed.
Click to expand it.
doc/NR_SA_CN5G_gNB_N300_COTS_UE_Tutorial.md
View file @
a20a6ba4
...
...
@@ -72,10 +72,6 @@ reboot
# https://docs.docker.com/compose/install/
sudo
curl
-L
"https://github.com/docker/compose/releases/download/1.29.2/docker-compose-
$(
uname
-s
)
-
$(
uname
-m
)
"
-o
/usr/local/bin/docker-compose
sudo chmod
+x /usr/local/bin/docker-compose
docker network create
--driver
=
bridge
--subnet
=
192.168.70.128/26
-o
"com.docker.network.bridge.name"
=
"demo-oai"
demo-oai-public-net
sudo
service docker restart
```
## 2.2 OAI CN5G Setup
...
...
@@ -83,39 +79,36 @@ sudo service docker restart
```
bash
# Git oai-cn5g-fed repository
git clone https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed.git ~/oai-cn5g-fed
cd
~/oai-cn5g-fed
git checkout master
./scripts/syncComponents.sh
--nrf-branch
develop
--amf-branch
develop
--smf-branch
develop
--spgwu-tiny-branch
develop
--ausf-branch
develop
--udm-branch
develop
--udr-branch
develop
--upf-vpp-branch
develop
--nssf-branch
develop
# Pull docker images
docker pull oaisoftwarealliance/oai-amf:develop
docker pull oaisoftwarealliance/oai-nrf:develop
docker pull oaisoftwarealliance/oai-smf:develop
docker pull oaisoftwarealliance/oai-udr:develop
docker pull oaisoftwarealliance/oai-udm:develop
docker pull oaisoftwarealliance/oai-ausf:develop
docker pull oaisoftwarealliance/oai-upf-vpp:develop
docker pull oaisoftwarealliance/oai-spgwu-tiny:develop
docker pull oaisoftwarealliance/
oai-nssf:develop
docker pull oaisoftwarealliance/
trf-gen-cn5g:latest
# Tag docker images
docker image tag oaisoftwarealliance/oai-amf:develop oai-amf:develop
docker image tag oaisoftwarealliance/oai-nrf:develop oai-nrf:develop
docker image tag oaisoftwarealliance/oai-smf:develop oai-smf:develop
docker image tag oaisoftwarealliance/oai-udr:develop oai-udr:develop
docker image tag oaisoftwarealliance/oai-udm:develop oai-udm:develop
docker image tag oaisoftwarealliance/oai-ausf:develop oai-ausf:develop
docker image tag oaisoftwarealliance/oai-upf-vpp:develop oai-upf-vpp:develop
docker image tag oaisoftwarealliance/oai-spgwu-tiny:develop oai-spgwu-tiny:develop
docker image tag oaisoftwarealliance/
oai-nssf:develop oai-nssf:develop
docker image tag oaisoftwarealliance/
trf-gen-cn5g:latest trf-gen-cn5g:latest
```
## 2.3 OAI CN5G Configuration files
Download and copy
the configuration files to ~/oai-cn5g-fed/docker-compose
:
-
[
docker-compose-basic-nrf.yaml
](
tutorial_resources/docker-compose-basic-nrf.yaml
)
-
[
oai_db.sql
](
tutorial_resources/oai_db.sql
)
Download and copy
configuration files
:
-
Copy
[
docker-compose-basic-nrf.yaml
](
tutorial_resources/docker-compose-basic-nrf.yaml
)
to
`~/oai-cn5g-fed/docker-compose`
-
Copy
[
oai_db.sql
](
tutorial_resources/oai_db.sql
)
to
`~/oai-cn5g-fed/docker-compose/database`
Change permissions on oai_db.sql to prevent mysql permission denied error:
```
bash
chmod
644 ~/oai-cn5g-fed/docker-compose/oai_db.sql
chmod
644 ~/oai-cn5g-fed/docker-compose/
database/
oai_db.sql
```
## 2.4 SIM Card
...
...
@@ -193,7 +186,7 @@ The following steps are recommended. Please change the network interface(s) as r
```
bash
cd
~/oai-cn5g-fed/docker-compose
python3 core-network.py
--type
start-basic
--
fqdn
yes
--
scenario
1
python3 core-network.py
--type
start-basic
--scenario
1
```
## 4.2 Run OAI gNB
...
...
This diff is collapsed.
Click to expand it.
doc/tutorial_resources/docker-compose-basic-nrf.yaml
View file @
a20a6ba4
...
...
@@ -4,8 +4,8 @@ services:
container_name
:
"
mysql"
image
:
mysql:5.7
volumes
:
-
./oai_db.sql:/docker-entrypoint-initdb.d/oai_db.sql
-
./mysql-healthcheck2.sh:/tmp/mysql-healthcheck.sh
-
./
database/
oai_db.sql:/docker-entrypoint-initdb.d/oai_db.sql
-
./
healthscripts/
mysql-healthcheck2.sh:/tmp/mysql-healthcheck.sh
environment
:
-
TZ=Europe/Paris
-
MYSQL_DATABASE=oai_db
...
...
@@ -21,35 +21,45 @@ services:
public_net
:
ipv4_address
:
192.168.70.131
oai-udr
:
container_name
:
oai-udr
container_name
:
"
oai-udr"
image
:
oai-udr:develop
environment
:
-
TZ=Europe/Paris
-
INSTANCE=0
-
PID_DIRECTORY=/var/run
-
UDR_NAME=OAI_UDR
-
UDR_INTERFACE_NAME_FOR_NUDR=eth0
-
UDR_INTERFACE_PORT_FOR_NUDR=80
-
UDR_INTERFACE_HTTP2_PORT_FOR_NUDR=8080
-
USE_HTTP2=no
-
UDR_API_VERSION=v1
-
MYSQL_IPV4_ADDRESS=192.168.70.131
-
MYSQL_USER=test
-
MYSQL_PASS=test
-
DB_CONNECTION_TIMEOUT=300
# Reset the connection to the DB after expiring the timeout (in second) currently can't be changed
-
MYSQL_DB=oai_db
-
WAIT_MYSQL=120
-
USE_FQDN_DNS=yes
-
REGISTER_NRF=yes
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
NRF_API_VERSION=v1
-
NRF_FQDN=oai-nrf
depends_on
:
-
mysql
-
oai-nrf
networks
:
public_net
:
ipv4_address
:
192.168.70.136
volumes
:
-
./udr-healthcheck.sh:/openair-udr/bin/udr-healthcheck.sh
-
./
healthscripts/
udr-healthcheck.sh:/openair-udr/bin/udr-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-udr/bin/udr-healthcheck.sh"
interval
:
10s
timeout
:
5s
retries
:
5
oai-udm
:
container_name
:
oai-udm
container_name
:
"
oai-udm"
image
:
oai-udm:develop
environment
:
-
TZ=Europe/Paris
...
...
@@ -58,26 +68,33 @@ services:
-
UDM_NAME=OAI_UDM
-
SBI_IF_NAME=eth0
-
SBI_PORT=80
-
SBI_HTTP2_PORT=8080
-
USE_HTTP2=no
-
UDM_VERSION_NB=v1
-
USE_FQDN_DNS=yes
-
UDR_IP_ADDRESS=192.168.70.136
-
UDR_PORT=80
-
UDR_VERSION_NB=v1
-
UDR_FQDN=oai-udr
-
REGISTER_NRF=yes
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
NRF_API_VERSION=v1
-
NRF_FQDN=oai-nrf
depends_on
:
-
oai-udr
networks
:
public_net
:
ipv4_address
:
192.168.70.137
volumes
:
-
./udm-healthcheck.sh:/openair-udm/bin/udm-healthcheck.sh
-
./
healthscripts/
udm-healthcheck.sh:/openair-udm/bin/udm-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-udm/bin/udm-healthcheck.sh"
interval
:
10s
timeout
:
5s
retries
:
5
oai-ausf
:
container_name
:
oai-ausf
container_name
:
"
oai-ausf"
image
:
oai-ausf:develop
environment
:
-
TZ=Europe/Paris
...
...
@@ -86,18 +103,25 @@ services:
-
AUSF_NAME=OAI_AUSF
-
SBI_IF_NAME=eth0
-
SBI_PORT=80
-
USE_HTTP2
-
SBI_HTTP2_PORT
-
USE_FQDN_DNS=yes
-
UDM_IP_ADDRESS=192.168.70.137
-
UDM_PORT=80
-
UDM_VERSION_NB=v1
-
UDM_FQDN=oai-udm
-
REGISTER_NRF=yes
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
NRF_API_VERSION=v1
-
NRF_FQDN=oai-nrf
depends_on
:
-
oai-udm
networks
:
public_net
:
ipv4_address
:
192.168.70.138
volumes
:
-
./ausf-healthcheck.sh:/openair-ausf/bin/ausf-healthcheck.sh
-
./
healthscripts/
ausf-healthcheck.sh:/openair-ausf/bin/ausf-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-ausf/bin/ausf-healthcheck.sh"
interval
:
10s
...
...
@@ -107,9 +131,10 @@ services:
container_name
:
"
oai-nrf"
image
:
oai-nrf:develop
environment
:
-
TZ=Europe/Paris
-
NRF_INTERFACE_NAME_FOR_SBI=eth0
-
NRF_INTERFACE_PORT_FOR_SBI=80
-
NRF_INTERFACE_HTTP2_PORT_FOR_SBI=
909
0
-
NRF_INTERFACE_HTTP2_PORT_FOR_SBI=
808
0
-
NRF_API_VERSION=v1
-
INSTANCE=0
-
PID_DIRECTORY=/var/run
...
...
@@ -117,7 +142,7 @@ services:
public_net
:
ipv4_address
:
192.168.70.130
volumes
:
-
./nrf-healthcheck.sh:/openair-nrf/bin/nrf-healthcheck.sh
-
./
healthscripts/
nrf-healthcheck.sh:/openair-nrf/bin/nrf-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-nrf/bin/nrf-healthcheck.sh"
interval
:
10s
...
...
@@ -146,9 +171,7 @@ services:
-
PLMN_SUPPORT_MNC=99
-
PLMN_SUPPORT_TAC=0x0001
-
SST_0=1
-
SD_0=1
-
SST_1=1
-
SD_1=12
-
SD_0=0x1
-
AMF_INTERFACE_NAME_FOR_NGAP=eth0
-
AMF_INTERFACE_NAME_FOR_N11=eth0
-
SMF_INSTANCE_ID_0=1
...
...
@@ -168,22 +191,30 @@ services:
-
OPERATOR_KEY=1006020f0a478bf6b699f15c062e42b3
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
EXTERNAL_NRF=no
-
NF_REGISTRATION=yes
-
SMF_SELECTION=yes
-
USE_FQDN_DNS=yes
-
EXTERNAL_AUSF=yes
-
EXTERNAL_UDM=no
-
EXTERNAL_NSSF=no
-
USE_HTTP2=no
-
NRF_API_VERSION=v1
-
NRF_FQDN=oai-nrf
-
AUSF_IPV4_ADDRESS=192.168.70.138
-
AUSF_PORT=80
-
AUSF_API_VERSION=v1
-
AUSF_FQDN=oai-ausf
-
UDM_IPV4_ADDRESS=192.168.70.137
-
UDM_PORT=80
-
UDM_API_VERSION=v2
-
UDM_FQDN=oai-udm
depends_on
:
-
mysql
-
oai-nrf
-
oai-ausf
volumes
:
-
./amf-healthcheck.sh:/openair-amf/bin/amf-healthcheck.sh
-
./
healthscripts/
amf-healthcheck.sh:/openair-amf/bin/amf-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-amf/bin/amf-healthcheck.sh"
interval
:
10s
...
...
@@ -212,26 +243,35 @@ services:
-
AMF_FQDN=oai-amf
-
UDM_IPV4_ADDRESS=192.168.70.137
-
UDM_PORT=80
-
UDM_API_VERSION=v
1
-
UDM_API_VERSION=v
2
-
UDM_FQDN=oai-udm
-
UPF_IPV4_ADDRESS=192.168.70.134
-
UPF_FQDN_0=oai-spgwu
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
NRF_API_VERSION=v1
-
USE_LOCAL_SUBSCRIPTION_INFO=yes
-
USE_LOCAL_SUBSCRIPTION_INFO=yes
#Set to yes if SMF uses local subscription information instead of from an UDM
-
USE_NETWORK_INSTANCE=no
#Set yes if network instance is to be used for given UPF
-
NRF_FQDN=oai-nrf
-
REGISTER_NRF=yes
-
DISCOVER_UPF=yes
-
USE_FQDN_DNS=yes
-
DNN_RANGE1=12.1.1.2 - 12.1.1.128
-
DNN_RANGE0=12.2.1.2 - 12.2.1.128
-
DNN_NI1=oai
-
HTTP_VERSION=1
# Default: 1
-
UE_MTU=1500
-
DNN_NI0=oai
-
TYPE0=IPv4
-
DNN_RANGE0=12.1.1.2 - 12.1.1.253
-
NSSAI_SST0=1
-
NSSAI_SD0=0x1
-
SESSION_AMBR_UL0=1000Mbps
-
SESSION_AMBR_DL0=1000Mbps
-
DEFAULT_CSCF_IPV4_ADDRESS=127.0.0.1
# only needed when ims is being used
-
ENABLE_USAGE_REPORTING=no
# Set yes if UE USAGE REPORTING is to be done at UPF
depends_on
:
-
oai-nrf
-
oai-amf
volumes
:
-
./smf-healthcheck.sh:/openair-smf/bin/smf-healthcheck.sh
-
./
healthscripts/
smf-healthcheck.sh:/openair-smf/bin/smf-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-smf/bin/smf-healthcheck.sh"
interval
:
10s
...
...
@@ -258,17 +298,23 @@ services:
-
MNC03=099
-
TAC=1
-
GW_ID=1
-
THREAD_S1U_PRIO=80
-
S1U_THREADS=8
-
THREAD_SX_PRIO=81
-
SX_THREADS=1
-
THREAD_SGI_PRIO=80
-
SGI_THREADS=8
-
REALM=openairinterface.org
-
ENABLE_5G_FEATURES=yes
-
REGISTER_NRF=yes
-
USE_FQDN_NRF=
no
-
USE_FQDN_NRF=
yes
-
UPF_FQDN_5G=oai-spgwu
-
NRF_IPV4_ADDRESS=192.168.70.130
-
NRF_PORT=80
-
NRF_API_VERSION=v1
-
NRF_FQDN=oai-nrf
-
NSSAI_SST_0=1
-
NSSAI_SD_0=1
-
NSSAI_SD_0=
0x
1
-
DNN_0=oai
depends_on
:
-
oai-nrf
...
...
@@ -280,7 +326,7 @@ services:
-
ALL
privileged
:
true
volumes
:
-
./spgwu-healthcheck.sh:/openair-spgwu-tiny/bin/spgwu-healthcheck.sh
-
./
healthscripts/
spgwu-healthcheck.sh:/openair-spgwu-tiny/bin/spgwu-healthcheck.sh
healthcheck
:
test
:
/bin/bash -c "/openair-spgwu-tiny/bin/spgwu-healthcheck.sh"
interval
:
10s
...
...
@@ -290,12 +336,10 @@ services:
public_net
:
ipv4_address
:
192.168.70.134
oai-ext-dn
:
image
:
ubuntu:bionic
image
:
trf-gen-cn5g:latest
privileged
:
true
container_name
:
oai-ext-dn
entrypoint
:
/bin/bash -c \
"apt update; apt install -y iptables iproute2 iperf iperf3 iputils-ping;"\
"iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;"\
"ip route add 12.1.1.0/24 via 192.168.70.134 dev eth0; sleep infinity"
depends_on
:
-
oai-spgwu
...
...
@@ -303,14 +347,14 @@ services:
public_net
:
ipv4_address
:
192.168.70.135
networks
:
# public_net:
# external:
# name: demo-oai-public-net
public_net
:
external
:
name
:
demo-oai-public-net
# public_net:
# driver: bridge
# name: demo-oai-public-net
# ipam:
# config:
# - subnet: 192.168.70.128/26
# driver_opts:
# com.docker.network.bridge.name: "demo-oai"
driver
:
bridge
name
:
demo-oai-public-net
ipam
:
config
:
-
subnet
:
192.168.70.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
demo-oai"
This diff is collapsed.
Click to expand it.
doc/tutorial_resources/oai_db.sql
View file @
a20a6ba4
...
...
@@ -151,10 +151,13 @@ CREATE TABLE `AuthenticationSubscription` (
--
INSERT
INTO
`AuthenticationSubscription`
(
`ueid`
,
`authenticationMethod`
,
`encPermanentKey`
,
`protectionParameterId`
,
`sequenceNumber`
,
`authenticationManagementField`
,
`algorithmId`
,
`encOpcKey`
,
`encTopcKey`
,
`vectorGenerationInHss`
,
`n5gcAuthMethod`
,
`rgAuthenticationInd`
,
`supi`
)
VALUES
(
'208950000000031'
,
'5G_AKA'
,
'0C0A34601D4F07677303652C0462535B'
,
'0C0A34601D4F07677303652C0462535B'
,
'{
\"
sqn
\"
:
\"
000000000020
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'63bfa50ee6523365ff14c1f45f88737d'
,
NULL
,
NULL
,
NULL
,
NULL
,
'208950000000031'
);
(
'2089900007487'
,
'5G_AKA'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'{
\"
sqn
\"
:
\"
000000000000
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'C42449363BBAD02B66D16BC975D77CC1'
,
NULL
,
NULL
,
NULL
,
NULL
,
'2089900007487'
);
INSERT
INTO
`AuthenticationSubscription`
(
`ueid`
,
`authenticationMethod`
,
`encPermanentKey`
,
`protectionParameterId`
,
`sequenceNumber`
,
`authenticationManagementField`
,
`algorithmId`
,
`encOpcKey`
,
`encTopcKey`
,
`vectorGenerationInHss`
,
`n5gcAuthMethod`
,
`rgAuthenticationInd`
,
`supi`
)
VALUES
(
'208990000000001'
,
'5G_AKA'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'{
\"
sqn
\"
:
\"
000000000000
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'C42449363BBAD02B66D16BC975D77CC1'
,
NULL
,
NULL
,
NULL
,
NULL
,
'208990000000001'
);
INSERT
INTO
`AuthenticationSubscription`
(
`ueid`
,
`authenticationMethod`
,
`encPermanentKey`
,
`protectionParameterId`
,
`sequenceNumber`
,
`authenticationManagementField`
,
`algorithmId`
,
`encOpcKey`
,
`encTopcKey`
,
`vectorGenerationInHss`
,
`n5gcAuthMethod`
,
`rgAuthenticationInd`
,
`supi`
)
VALUES
(
'208990000000001'
,
'5G_AKA'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'{
\"
sqn
\"
:
\"
000000000020
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'C42449363BBAD02B66D16BC975D77CC1'
,
NULL
,
NULL
,
NULL
,
NULL
,
'208990000000001'
);
(
'208990000000002'
,
'5G_AKA'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'{
\"
sqn
\"
:
\"
000000000000
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'C42449363BBAD02B66D16BC975D77CC1'
,
NULL
,
NULL
,
NULL
,
NULL
,
'208990000000002'
);
INSERT
INTO
`AuthenticationSubscription`
(
`ueid`
,
`authenticationMethod`
,
`encPermanentKey`
,
`protectionParameterId`
,
`sequenceNumber`
,
`authenticationManagementField`
,
`algorithmId`
,
`encOpcKey`
,
`encTopcKey`
,
`vectorGenerationInHss`
,
`n5gcAuthMethod`
,
`rgAuthenticationInd`
,
`supi`
)
VALUES
(
'208990000000003'
,
'5G_AKA'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'fec86ba6eb707ed08905757b1bb44b8f'
,
'{
\"
sqn
\"
:
\"
000000000000
\"
,
\"
sqnScheme
\"
:
\"
NON_TIME_BASED
\"
,
\"
lastIndexes
\"
: {
\"
ausf
\"
: 0}}'
,
'8000'
,
'milenage'
,
'C42449363BBAD02B66D16BC975D77CC1'
,
NULL
,
NULL
,
NULL
,
NULL
,
'208990000000003'
);
-- --------------------------------------------------------
...
...
@@ -203,6 +206,19 @@ CREATE TABLE `SessionManagementSubscriptionData` (
`3gppChargingCharacteristics`
varchar
(
50
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
-- Dumping data for table `SessionManagementSubscriptionData`
--
INSERT
INTO
`SessionManagementSubscriptionData`
(
`ueid`
,
`servingPlmnid`
,
`singleNssai`
,
`dnnConfigurations`
)
VALUES
(
'2089900007487'
,
'20899'
,
'{
\"
sst
\"
: 1,
\"
sd
\"
:
\"
1
\"
}'
,
'{
\"
oai
\"
:{
\"
pduSessionTypes
\"
:{
\"
defaultSessionType
\"
:
\"
IPV4
\"
},
\"
sscModes
\"
: {
\"
defaultSscMode
\"
:
\"
SSC_MODE_1
\"
},
\"
5gQosProfile
\"
: {
\"
5qi
\"
: 6,
\"
arp
\"
:{
\"
priorityLevel
\"
: 1,
\"
preemptCap
\"
:
\"
NOT_PREEMPT
\"
,
\"
preemptVuln
\"
:
\"
NOT_PREEMPTABLE
\"
},
\"
priorityLevel
\"
:1},
\"
sessionAmbr
\"
:{
\"
uplink
\"
:
\"
1000Mbps
\"
,
\"
downlink
\"
:
\"
1000Mbps
\"
},
\"
staticIpAddress
\"
:[{
\"
ipv4Addr
\"
:
\"
12.1.1.2
\"
}]}}'
);
INSERT
INTO
`SessionManagementSubscriptionData`
(
`ueid`
,
`servingPlmnid`
,
`singleNssai`
,
`dnnConfigurations`
)
VALUES
(
'208990000000001'
,
'20899'
,
'{
\"
sst
\"
: 1,
\"
sd
\"
:
\"
1
\"
}'
,
'{
\"
oai
\"
:{
\"
pduSessionTypes
\"
:{
\"
defaultSessionType
\"
:
\"
IPV4
\"
},
\"
sscModes
\"
: {
\"
defaultSscMode
\"
:
\"
SSC_MODE_1
\"
},
\"
5gQosProfile
\"
: {
\"
5qi
\"
: 6,
\"
arp
\"
:{
\"
priorityLevel
\"
: 1,
\"
preemptCap
\"
:
\"
NOT_PREEMPT
\"
,
\"
preemptVuln
\"
:
\"
NOT_PREEMPTABLE
\"
},
\"
priorityLevel
\"
:1},
\"
sessionAmbr
\"
:{
\"
uplink
\"
:
\"
1000Mbps
\"
,
\"
downlink
\"
:
\"
1000Mbps
\"
},
\"
staticIpAddress
\"
:[{
\"
ipv4Addr
\"
:
\"
12.1.1.2
\"
}]}}'
);
INSERT
INTO
`SessionManagementSubscriptionData`
(
`ueid`
,
`servingPlmnid`
,
`singleNssai`
,
`dnnConfigurations`
)
VALUES
(
'208990000000002'
,
'20899'
,
'{
\"
sst
\"
: 1,
\"
sd
\"
:
\"
1
\"
}'
,
'{
\"
oai
\"
:{
\"
pduSessionTypes
\"
:{
\"
defaultSessionType
\"
:
\"
IPV4
\"
},
\"
sscModes
\"
: {
\"
defaultSscMode
\"
:
\"
SSC_MODE_1
\"
},
\"
5gQosProfile
\"
: {
\"
5qi
\"
: 6,
\"
arp
\"
:{
\"
priorityLevel
\"
: 1,
\"
preemptCap
\"
:
\"
NOT_PREEMPT
\"
,
\"
preemptVuln
\"
:
\"
NOT_PREEMPTABLE
\"
},
\"
priorityLevel
\"
:1},
\"
sessionAmbr
\"
:{
\"
uplink
\"
:
\"
1000Mbps
\"
,
\"
downlink
\"
:
\"
1000Mbps
\"
},
\"
staticIpAddress
\"
:[{
\"
ipv4Addr
\"
:
\"
12.1.1.3
\"
}]}}'
);
INSERT
INTO
`SessionManagementSubscriptionData`
(
`ueid`
,
`servingPlmnid`
,
`singleNssai`
,
`dnnConfigurations`
)
VALUES
(
'208990000000003'
,
'20899'
,
'{
\"
sst
\"
: 1,
\"
sd
\"
:
\"
1
\"
}'
,
'{
\"
oai
\"
:{
\"
pduSessionTypes
\"
:{
\"
defaultSessionType
\"
:
\"
IPV4
\"
},
\"
sscModes
\"
: {
\"
defaultSscMode
\"
:
\"
SSC_MODE_1
\"
},
\"
5gQosProfile
\"
: {
\"
5qi
\"
: 6,
\"
arp
\"
:{
\"
priorityLevel
\"
: 1,
\"
preemptCap
\"
:
\"
NOT_PREEMPT
\"
,
\"
preemptVuln
\"
:
\"
NOT_PREEMPTABLE
\"
},
\"
priorityLevel
\"
:1},
\"
sessionAmbr
\"
:{
\"
uplink
\"
:
\"
1000Mbps
\"
,
\"
downlink
\"
:
\"
1000Mbps
\"
},
\"
staticIpAddress
\"
:[{
\"
ipv4Addr
\"
:
\"
12.1.1.4
\"
}]}}'
);
-- --------------------------------------------------------
--
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment