mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
[SBI] Allow direct NRF communication in Model C by configuring delegation modes (#3399)
Introduce client_delegated_config to manage delegation settings for NRF and SCP
separately. This ensures that in Model C, all NRF-related procedures
(registration, heartbeat, deregistration, etc.) communicate directly with the
NRF without routing through the SCP. This change aligns Open5GS behavior with
3GPP standards, providing consistent direct communication for both discovery
and management in Model C, and maintaining indirect communication in Model D.
- Direct Communication with NRF
```
sbi:
client:
nrf:
- uri: http://127.0.0.10:7777
```
- Indirect Communication by Delegating to SCP
```
sbi:
client:
scp:
- uri: http://127.0.0.200:7777
```
- Indirect Communication without Delegation
```
sbi:
client:
nrf:
- uri: http://127.0.0.10:7777
scp:
- uri: http://127.0.0.200:7777
delegated:
nrf:
nfm: no # Directly communicate NRF management functions
disc: no # Directly communicate NRF discovery
scp:
next: no # Do not delegate to SCP for next-hop
```
- Indirect Communication with Delegated Discovery
```
sbi:
client:
nrf:
- uri: http://127.0.0.10:7777
scp:
- uri: http://127.0.0.200:7777
delegated:
nrf:
nfm: no # Directly communicate NRF management functions
disc: yes # Delegate discovery to SCP
scp:
next: yes # Delegate to SCP for next-hop communications
```
- Default delegation: all communications are delegated to the SCP
```
sbi:
client:
nrf:
- uri: http://127.0.0.10:7777
scp:
- uri: http://127.0.0.200:7777
# No 'delegated' section; defaults to AUTO delegation
```
This commit is contained in:
@@ -88,27 +88,54 @@ amf:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -51,27 +51,54 @@ ausf:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -51,27 +51,54 @@ bsf:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -77,27 +77,55 @@ nssf:
|
||||
# sst: 1
|
||||
# sd: 009000
|
||||
#
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -177,27 +177,54 @@ pcf:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -92,12 +92,49 @@ scp:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect Communication by Delegating to Next-SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the Next-SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
################################################################################
|
||||
|
||||
@@ -215,27 +215,54 @@ smf:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -110,27 +110,54 @@ udm:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
@@ -52,27 +52,54 @@ udr:
|
||||
################################################################################
|
||||
# SBI Client
|
||||
################################################################################
|
||||
# o Direct communication with NRF interaction
|
||||
# o Direct Communication with NRF
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
#
|
||||
# o Indirect communication with delegated discovery
|
||||
# o Indirect Communication by Delegating to SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
#
|
||||
# o Indirect communication without delegated discovery
|
||||
# o Indirect Communication without Delegation
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# discovery:
|
||||
# delegated: no
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: no # Directly communicate NRF discovery
|
||||
# scp:
|
||||
# next: no # Do not delegate to SCP for next-hop
|
||||
#
|
||||
# o Indirect Communication with Delegated Discovery
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# delegated:
|
||||
# nrf:
|
||||
# nfm: no # Directly communicate NRF management functions
|
||||
# disc: yes # Delegate discovery to SCP
|
||||
# scp:
|
||||
# next: yes # Delegate to SCP for next-hop communications
|
||||
#
|
||||
# o Default delegation: all communications are delegated to the SCP
|
||||
# sbi:
|
||||
# client:
|
||||
# nrf:
|
||||
# - uri: http://127.0.0.10:7777
|
||||
# scp:
|
||||
# - uri: http://127.0.0.200:7777
|
||||
# # No 'delegated' section; defaults to AUTO delegation
|
||||
#
|
||||
################################################################################
|
||||
# HTTPS scheme with TLS
|
||||
|
||||
Reference in New Issue
Block a user