mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 11:29:32 +00:00
This update allows the parsing and handling of user-defined port numbers
in the `advertise` field or explicitly in the `server` configuration for
SBI. Users can now specify non-default ports for both binding and
advertising while maintaining compatibility with existing configurations.
The feature includes logic to handle FQDNs with embedded port numbers
(e.g., `example.com:8080`) and ensures proper memory management during
parsing. Updated the client association logic to utilize custom ports
when specified.
Examples:
- Bind to the address on the eth0 and advertise as open5gs-amf.svc.local
```
sbi:
server:
- dev:eth0
advertise: open5gs-amf.svc.local
```
- Specify a custom port number 7777 while binding to the given address
```
sbi:
server:
- address: amf.localdomain
port: 7777
```
- Bind to 127.0.0.5 and advertise as open5gs-amf.svc.local
```
sbi:
server:
- address: 127.0.0.5
port: 7777
advertise: open5gs-amf.svc.local
```
- Bind to port 7777 but advertise with a different port number 8888
```
sbi:
server:
- address: 127.0.0.5
port: 7777
advertise: open5gs-amf.svc.local:8888
```
|
||
|---|---|---|
| .. | ||
| hnet | ||
| tls | ||
| amf.yaml.in | ||
| ausf.yaml.in | ||
| bsf.yaml.in | ||
| hss.yaml.in | ||
| meson.build | ||
| mme.yaml.in | ||
| nrf.yaml.in | ||
| nssf.yaml.in | ||
| pcf.yaml.in | ||
| pcrf.yaml.in | ||
| scp.yaml.in | ||
| sepp1.yaml.in | ||
| sepp2.yaml.in | ||
| sgwc.yaml.in | ||
| sgwu.yaml.in | ||
| smf.yaml.in | ||
| udm.yaml.in | ||
| udr.yaml.in | ||
| upf.yaml.in | ||