Update document

This commit is contained in:
Sukchan Lee 2023-08-06 23:49:57 +09:00
parent 4ba815a04b
commit 0da3d08297
2 changed files with 74 additions and 40 deletions

View File

@ -89,11 +89,13 @@ We plan to use 001-01 for the Home PLMN and 999-70 for the Visited PLMN. To do s
Note that visited NRF can use IP address, but home NRF should follow TS23.003(28.3.2.3.2 Format of NRF FQDN) for routing.
- Create h-nrf.yaml for Home PLMN
```
$ cp install/etc/open5gs/nrf.yaml install/etc/open5gs/h-nrf.yaml
```
- Update h-nrf.yaml
```diff
$ diff -u install/etc/open5gs/nrf.yaml install/etc/open5gs/h-nrf.yaml
--- install/etc/open5gs/nrf.yaml 2023-08-06 22:46:02.263941577 +0900
@ -116,6 +118,7 @@ $ diff -u install/etc/open5gs/nrf.yaml install/etc/open5gs/h-nrf.yaml
```
- Run vNRF and hNRF
```
$ ./install/bin/open5gs-nrfd
$ sudo ./install/bin/open5gs-nrfd -c ./install/etc/open5gs/h-nrf.yaml
@ -129,11 +132,13 @@ Note that Home NRF requires root privileges as it uses reserved ports such as ht
SCPs do not have to use FQDNs.
- Create h-scp.yaml for Home PLMN
```
$ cp install/etc/open5gs/scp.yaml install/etc/open5gs/h-scp.yaml
```
- Update h-scp.yaml
```diff
$ diff -u install/etc/open5gs/scp.yaml install/etc/open5gs/h-scp.yaml
--- install/etc/open5gs/scp.yaml 2023-08-06 22:46:02.279940823 +0900
@ -153,7 +158,30 @@ $ diff -u install/etc/open5gs/scp.yaml install/etc/open5gs/h-scp.yaml
# SCP Info
```
- Update scp.yaml
The V-PLMN SCP needs TLS information to contact SEPP. The SCP can learn about SEPP during the discovery process, so we need to enable TLS on the client in the `defconfig` method.
```diff
diff -u install/etc/open5gs/scp.yaml.old install/etc/open5gs/scp.yaml
--- install/etc/open5gs/scp.yaml.old 2023-08-06 23:45:34.184505318 +0900
+++ install/etc/open5gs/scp.yaml 2023-08-06 23:45:38.216322924 +0900
@@ -7,6 +7,11 @@
# peer: 64
scp:
+ defconfig:
+ tls:
+ client:
+ scheme: https
+ cacert: /home/acetcom/Documents/git/open5gs/build/configs/open5gs/tls/ca.crt
sbi:
- address: 127.0.1.10
port: 7777
```
- Run vSCP and hSCP
```
$ ./install/bin/open5gs-scpd
$ ./install/bin/open5gs-scpd -c ./install/etc/open5gs/h-scp.yaml
@ -164,6 +192,7 @@ $ ./install/bin/open5gs-scpd -c ./install/etc/open5gs/h-scp.yaml
SEPP can be run without changing the configuration file. And SEPP uses HTTPS scheme with TLS in default setting. Please refer to the configuration file(sepp1.yaml/sepp2.yaml) for more details.
- Run vSEPP and hSEPP
```
$ ./install/bin/open5gs-seppd -c ./install/etc/open5gs/sepp1.yaml
$ ./install/bin/open5gs-seppd -c ./install/etc/open5gs/sepp2.yaml
@ -174,6 +203,7 @@ $ ./install/bin/open5gs-seppd -c ./install/etc/open5gs/sepp2.yaml
Home UDR can use IP address, but Home AUSF and Home UDM shall use FQDN.
- Create h-udr.yaml, h-ausf.yaml and h-udm.yaml for Home PLMN
```
$ cp install/etc/open5gs/udr.yaml install/etc/open5gs/h-udr.yaml
$ cp install/etc/open5gs/ausf.yaml install/etc/open5gs/h-ausf.yaml
@ -181,6 +211,7 @@ $ cp install/etc/open5gs/udm.yaml install/etc/open5gs/h-udm.yaml
```
- Update h-udr.yaml
```diff
$ diff -u install/etc/open5gs/udr.yaml install/etc/open5gs/h-udr.yaml
--- install/etc/open5gs/udr.yaml 2023-08-06 22:46:02.363936865 +0900
@ -203,6 +234,7 @@ $ diff -u install/etc/open5gs/udr.yaml install/etc/open5gs/h-udr.yaml
```
- Update h-ausf.yaml
```diff
$ diff -u install/etc/open5gs/ausf.yaml install/etc/open5gs/h-ausf.yaml
--- install/etc/open5gs/ausf.yaml 2023-08-06 22:46:02.327938562 +0900
@ -225,6 +257,7 @@ $ diff -u install/etc/open5gs/ausf.yaml install/etc/open5gs/h-ausf.yaml
```
- Update h-udm.yaml
```diff
diff -u install/etc/open5gs/udm.yaml install/etc/open5gs/h-udm.yaml
--- install/etc/open5gs/udm.yaml 2023-08-06 22:46:02.347937619 +0900

View File

@ -16,6 +16,7 @@ head_inline: "<style> ul { padding-bottom: 1em; } </style>"
- [Metrics with Prometheus](tutorial/04-metrics-prometheus)
- [VoLTE Setup with Kamailio IMS and Open5GS](tutorial/02-VoLTE-setup)
- [Dockerized VoLTE Setup](tutorial/03-VoLTE-dockerized)
- [Roaming](tutorial/05-roaming)
- Inside Source Code
- [UPF Code Explanation](https://medium.com/@aditya.koranga/open5gs-upf-code-explanation-with-flow-c-79c50f253dd1)