|
|
# An example of NEF Configuration
|
|
|
|
|
|
## Interfaces
|
|
|
|
|
|
```
|
|
|
INTERFACES:{
|
|
|
# NEF binded interface for SBI interface (e.g., communication with AMF, UDM)
|
|
|
SBI:{
|
|
|
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE
|
|
|
IPV4_ADDRESS = "read";
|
|
|
PORT = 80; # YOUR NETWORK CONFIG HERE (default: 80)
|
|
|
PPID = 60;
|
|
|
};
|
|
|
};
|
|
|
|
|
|
```
|
|
|
|
|
|
## Other NFs information
|
|
|
|
|
|
```
|
|
|
# UDM Information
|
|
|
AMF :
|
|
|
{
|
|
|
IPV4_ADDRESS = "127.0.0.1";
|
|
|
PORT = 80; # Default: 80
|
|
|
HTTP2_PORT = 9090;
|
|
|
API_VERSION = "v1";
|
|
|
FQDN = "oai_amf"
|
|
|
};
|
|
|
|
|
|
SMF :
|
|
|
{
|
|
|
IPV4_ADDRESS = "127.0.0.1";
|
|
|
PORT = 80; # Default: 80
|
|
|
HTTP2_PORT = 9090;
|
|
|
API_VERSION = "v1";
|
|
|
FQDN = "oai_smf"
|
|
|
};
|
|
|
|
|
|
UDM :
|
|
|
{
|
|
|
IPV4_ADDRESS = "127.0.0.1";
|
|
|
PORT = 80; # Default: 80
|
|
|
HTTP2_PORT = 9090;
|
|
|
API_VERSION = "v1";
|
|
|
FQDN = "oai_udm"
|
|
|
};
|
|
|
```
|
|
|
|
|
|
## Other options
|
|
|
|
|
|
```
|
|
|
INSTANCE = 1; # 0 is the default
|
|
|
PID_DIRECTORY = "/var/run"; # /var/run is the default
|
|
|
|
|
|
# SUPPORT FEATURES
|
|
|
SUPPORT_FEATURES:
|
|
|
{
|
|
|
# STRING, {"yes", "no"},
|
|
|
USE_FQDN_DNS = "no"; # Set to yes if NEF will rely on a DNS to resolve FQDN
|
|
|
USE_HTTP2 = "no"; # Default: no
|
|
|
}
|
|
|
```
|
|
|
|
|
|
**An example for NEF configuration file could be found in [nef.conf](nef.conf)**
|
|
|
|
|
|
|
|
|
|