Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
6730a20b
Commit
6730a20b
authored
Aug 20, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bring back the smf conf file
parent
112717cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
etc/smf.conf
etc/smf.conf
+15
-16
No files found.
etc/smf.conf
View file @
6730a20b
...
...
@@ -20,26 +20,26 @@
################################################################################
SMF
=
{
INSTANCE
=
1
;
# 0 is the default
PID_DIRECTORY
=
"
/var/run
"
;
# /var/run is the default
INSTANCE
=
@
INSTANCE
@
;
# 0 is the default
PID_DIRECTORY
=
"
@PID_DIRECTORY@
"
;
# /var/run is the default
INTERFACES
:
{
N4
:
{
# SMF binded interface for N4 communication (UPF)
INTERFACE_NAME
=
"
eth0
"
;
# STRING, interface name
INTERFACE_NAME
=
"
@SMF_INTERFACE_NAME_FOR_N4@
"
;
# STRING, interface name
IPV4_ADDRESS
=
"read"
;
# STRING, CIDR or "read" to let app read interface configured IP address
};
SBI
:
{
# SMF binded interface for SBI interface (e.g., communication with AMF, UDM)
INTERFACE_NAME
=
"
eth0
"
;
# STRING, interface name
INTERFACE_NAME
=
"
@SMF_INTERFACE_NAME_FOR_SBI@
"
;
# STRING, interface name
#IPV4_ADDRESS = "@SMF_INTERFACE_IPV4_ADDRESS_FOR_SBI@"; # STRING, CIDR or "read" to let app read interface configured IP address
IPV4_ADDRESS
=
"read"
;
PORT
=
80
;
#Normally we don't need this (default port 80)
HTTP2_PORT
=
9090
;
PORT
=
@
SMF_INTERFACE_PORT_FOR_SBI
@
;
#Normally we don't need this (default port 80)
HTTP2_PORT
=
@
SMF_INTERFACE_HTTP2_PORT_FOR_SBI
@
;
};
TEST_UPF
:
#for BUPT test only!
...
...
@@ -74,16 +74,16 @@ SMF =
DNN_LIST
= (
# IPV4_POOL, IPV6_POOL are index in IPV4_LIST, IPV6_LIST, PDN_TYPE choice in {IPv4, IPv6, IPv4v6}
{
DNN_NI
=
"
carrier.com
"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
0
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"
default
"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
1
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"
default
"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
0
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"
carrier.com
"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
1
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"apn2"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
2
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"apn3"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
3
;
IPV6_POOL
= -
1
},
{
DNN_NI
=
"apn4"
;
PDN_TYPE
=
"IPv4"
;
IPV4_POOL
=
4
;
IPV6_POOL
= -
1
}
);
# DNS address communicated to UEs
DEFAULT_DNS_IPV4_ADDRESS
=
"
8.8.8.8
"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_SEC_IPV4_ADDRESS
=
"
4.4.4.4
"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_IPV4_ADDRESS
=
"
@DEFAULT_DNS_IPV4_ADDRESS@
"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_SEC_IPV4_ADDRESS
=
"
@DEFAULT_DNS_SEC_IPV4_ADDRESS@
"
;
# YOUR NETWORK CONFIG HERE
DEFAULT_DNS_IPV6_ADDRESS
=
"2001:4860:4860::8888"
;
# FFU
DEFAULT_DNS_SEC_IPV6_ADDRESS
=
"2001:4860:4860::8844"
;
# FFU
...
...
@@ -92,17 +92,17 @@ SMF =
AMF
:
{
IPV4_ADDRESS
=
"
192.168.66.2
"
;
PORT
=
8282
;
#should be removed (default: 80)
IPV4_ADDRESS
=
"
@AMF_IPV4_ADDRESS@
"
;
PORT
=
@
AMF_PORT
@
;
#should be removed (default: 80)
};
UDM
:
{
IPV4_ADDRESS
=
"
192.168.66.99
"
;
PORT
=
80
;
#should be removed (default 80)
IPV4_ADDRESS
=
"
@UDM_IPV4_ADDRESS@
"
;
PORT
=
@
UDM_PORT
@
;
#should be removed (default 80)
};
UPF_LIST
= (
{
IPV4_ADDRESS
=
"
192.168.66.5
"
;}
{
IPV4_ADDRESS
=
"
@UPF_IPV4_ADDRESS@
"
;}
);
LOCAL_CONFIGURATION
:
...
...
@@ -120,4 +120,3 @@ SMF =
};
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