Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UDR
Commits
7037c39e
Commit
7037c39e
authored
Jun 24, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update conf file with variables
parent
cd63c9fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
etc/udr.conf
etc/udr.conf
+10
-10
No files found.
etc/udr.conf
View file @
7037c39e
UDR
=
UDR
=
{
{
INSTANCE_ID
=
10
;
# 0 is the default
INSTANCE_ID
=
@
INSTANCE
@
;
# 0 is the default
PID_DIRECTORY
=
"
/var/run
"
;
# /var/run is the default
PID_DIRECTORY
=
"
@PID_DIRECTORY@
"
;
# /var/run is the default
INTERFACES
:
INTERFACES
:
{
{
# UDR binded interface for Nudr interface
# UDR binded interface for Nudr interface
NUDR
:
NUDR
:
{
{
INTERFACE_NAME
=
"
eth0"
;
# YOUR NETWORK CONFIG HERE
INTERFACE_NAME
=
"
@UDR_INTERFACE_NAME_FOR_NUDR@"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
IPV4_ADDRESS
=
"read"
;
PORT
=
80
;
# YOUR NETWORK CONFIG HERE
PORT
=
@
UDR_INTERFACE_PORT_FOR_NUDR
@;
# YOUR NETWORK CONFIG HERE
HTTP2_PORT
=
8080
;
# YOUR NETWORK CONFIG HERE
HTTP2_PORT
=
@
UDR_INTERFACE_HTTP2_PORT_FOR_NUDR
@;
# YOUR NETWORK CONFIG HERE
API_VERSION
=
"
v1"
;
# YOUR NUDR API VERSION CONFIG HERE
API_VERSION
=
"
@UDR_API_VERSION@"
;
# YOUR NUDR API VERSION CONFIG HERE
};
};
};
};
...
@@ -20,9 +20,9 @@ UDR =
...
@@ -20,9 +20,9 @@ UDR =
MYSQL
:
MYSQL
:
{
{
## MySQL mandatory options
## MySQL mandatory options
MYSQL_SERVER
=
"
127.0.0.1"
;
# MySQL Server address
MYSQL_SERVER
=
"
@MYSQL_IPV4_ADDRESS@"
;
# YOUR MYSQL DB ADDRESS HERE
MYSQL_USER
=
"
root"
;
# Database server login
MYSQL_USER
=
"
@MYSQL_USER@"
;
# YOUR MYSQL USER HERE
MYSQL_PASS
=
"
linux"
;
# Database server password
MYSQL_PASS
=
"
@MYSQL_PASS@"
;
# YOUR MYSQL PASSWORD HERE
MYSQL_DB
=
"oai_db"
;
# Your database name
MYSQL_DB
=
"oai_db"
;
# YOUR DATA BASE NAME HERE
};
};
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment