|
|
# An example of UDR Configuration
|
|
|
|
|
|
## Interfaces
|
|
|
|
|
|
```
|
|
|
INTERFACES:
|
|
|
{
|
|
|
# UDR binded interface for Nudr interface
|
|
|
NUDR:
|
|
|
{
|
|
|
INTERFACE_NAME = "eth0"; # YOUR NETWORK CONFIG HERE
|
|
|
IPV4_ADDRESS = "read";
|
|
|
PORT = 80; # YOUR NETWORK CONFIG HERE
|
|
|
HTTP2_PORT = 8080; # YOUR NETWORK CONFIG HERE
|
|
|
API_VERSION = "v1"; # YOUR NUDR API VERSION CONFIG HERE
|
|
|
|
|
|
};
|
|
|
};
|
|
|
|
|
|
```
|
|
|
|
|
|
## MYSQL information
|
|
|
|
|
|
```
|
|
|
MYSQL:
|
|
|
{
|
|
|
## MySQL mandatory options
|
|
|
MYSQL_SERVER = "192.168.66.10"; # YOUR MYSQL DB ADDRESS HERE
|
|
|
MYSQL_USER = "root"; # YOUR MYSQL USER HERE
|
|
|
MYSQL_PASS = "linux"; # YOUR MYSQL PASSWORD HERE
|
|
|
MYSQL_DB = "oai_db"; # YOUR DATA BASE NAME HERE
|
|
|
};
|
|
|
|
|
|
```
|
|
|
|
|
|
## Other options
|
|
|
|
|
|
```
|
|
|
INSTANCE = 1; # 0 is the default
|
|
|
PID_DIRECTORY = "/var/run"; # /var/run is the default
|
|
|
```
|
|
|
|
|
|
**An example for UDR configuration file could be found in [udr.conf](udr.conf)**
|
|
|
|
|
|
|
|
|
|