Allow direct communication with NRF when SCP is absent

This commit is contained in:
herlesupreeth
2023-03-01 08:35:41 +01:00
parent abf96ea26d
commit 428af8efc3
16 changed files with 56 additions and 0 deletions

View File

@@ -48,3 +48,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -29,6 +29,7 @@
cp /mnt/amf/amf.yaml install/etc/open5gs
sed -i 's|AMF_IP|'$AMF_IP'|g' install/etc/open5gs/amf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/amf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/amf.yaml
sed -i 's|MNC|'$MNC'|g' install/etc/open5gs/amf.yaml
sed -i 's|MCC|'$MCC'|g' install/etc/open5gs/amf.yaml

View File

@@ -19,3 +19,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -29,6 +29,7 @@
cp /mnt/ausf/ausf.yaml install/etc/open5gs
sed -i 's|AUSF_IP|'$AUSF_IP'|g' install/etc/open5gs/ausf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/ausf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/ausf.yaml
# Sync docker time
#ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

View File

@@ -21,3 +21,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -31,6 +31,7 @@ export DB_URI="mongodb://${MONGO_IP}/open5gs"
cp /mnt/bsf/bsf.yaml install/etc/open5gs
sed -i 's|BSF_IP|'$BSF_IP'|g' install/etc/open5gs/bsf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/bsf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/bsf.yaml
sed -i 's|MONGO_IP|'$MONGO_IP'|g' install/etc/open5gs/bsf.yaml
# Sync docker time

View File

@@ -24,3 +24,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -30,6 +30,7 @@ cp /mnt/nssf/nssf.yaml install/etc/open5gs
sed -i 's|NSSF_IP|'$NSSF_IP'|g' install/etc/open5gs/nssf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/nssf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/nssf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/nssf.yaml
# Sync docker time
#ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

View File

@@ -24,3 +24,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -31,6 +31,7 @@ export DB_URI="mongodb://${MONGO_IP}/open5gs"
cp /mnt/pcf/pcf.yaml install/etc/open5gs
sed -i 's|PCF_IP|'$PCF_IP'|g' install/etc/open5gs/pcf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/pcf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/pcf.yaml
sed -i 's|MONGO_IP|'$MONGO_IP'|g' install/etc/open5gs/pcf.yaml
# Sync docker time

View File

@@ -52,6 +52,12 @@ scp:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777
upf:
pfcp:
- addr: UPF_IP

View File

@@ -39,6 +39,7 @@ cp /mnt/smf/make_certs.sh install/etc/freeDiameter
sed -i 's|SMF_IP|'$SMF_IP'|g' install/etc/open5gs/smf.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/smf.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/smf.yaml
sed -i 's|UPF_IP|'$UPF_IP'|g' install/etc/open5gs/smf.yaml
sed -i 's|PCSCF_IP|'$PCSCF_IP'|g' install/etc/open5gs/smf.yaml
sed -i 's|SMF_IP|'$SMF_IP'|g' install/etc/freeDiameter/smf.conf

View File

@@ -26,3 +26,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -29,6 +29,7 @@
cp /mnt/udm/udm.yaml install/etc/open5gs
sed -i 's|UDM_IP|'$UDM_IP'|g' install/etc/open5gs/udm.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/udm.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/udm.yaml
cp /mnt/udm/curve25519-1.key install/etc/open5gs/hnet
cp /mnt/udm/secp256r1-2.key install/etc/open5gs/hnet

View File

@@ -21,3 +21,9 @@ scp:
- addr:
- SCP_IP
port: 7777
nrf:
sbi:
- addr:
- NRF_IP
port: 7777

View File

@@ -31,6 +31,7 @@ export DB_URI="mongodb://${MONGO_IP}/open5gs"
cp /mnt/udr/udr.yaml install/etc/open5gs
sed -i 's|UDR_IP|'$UDR_IP'|g' install/etc/open5gs/udr.yaml
sed -i 's|SCP_IP|'$SCP_IP'|g' install/etc/open5gs/udr.yaml
sed -i 's|NRF_IP|'$NRF_IP'|g' install/etc/open5gs/udr.yaml
sed -i 's|MONGO_IP|'$MONGO_IP'|g' install/etc/open5gs/udr.yaml
# Sync docker time