Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AUSF
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-AUSF
Commits
87db9a23
Commit
87db9a23
authored
Mar 22, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update configuration
parent
f96f822a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
43 deletions
+5
-43
etc/ausf.conf
etc/ausf.conf
+4
-42
src/utils/curl.hpp
src/utils/curl.hpp
+1
-1
No files found.
etc/ausf.conf
View file @
87db9a23
...
@@ -3,65 +3,27 @@ AUSF =
...
@@ -3,65 +3,27 @@ AUSF =
{
{
INSTANCE_ID
=
10
;
#10
INSTANCE_ID
=
10
;
#10
PID_DIRECTORY
=
"/var/run"
;
PID_DIRECTORY
=
"/var/run"
;
######################################################################## NG SETUP RESPONSE IEs ############################################################
AUSF_NAME
=
"bupt-ausf"
;
# GUAMI:{MCC = "110"; MNC = "11"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "1"}
# SERVED_GUAMI_LIST = (
# {MCC = "110"; MNC = "11"; RegionID = "10"; AMFSetID = "1"; AMFPointer = "0"}, #48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
# {MCC = "110"; MNC = "11"; RegionID = "10"; AMFSetID = "1"; AMFPointer = "1"} #48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
# );
# RELATIVE_CAPACITY = 30;
# PLMN_SUPPORT_LIST = (
AUSF_NAME
=
"bupt-ausf"
;
# {MCC = "110"; MNC = "11"; TAC = 100;
# SLICE_SUPPORT_LIST = (
# {SST = "1"; SD = "none"},
# {SST = "1"; SD = "12"}
# )
# }
# );
##################################################################### clause 9.2.6.2, 3gpp ts38.413 ####################################################
#STATISTICS_TIMER_INTERVAL = 20; #second
INTERFACES
:{
INTERFACES
:{
SBI_AUSF
:{
SBI_AUSF
:{
INTERFACE_NAME
=
"ens33"
;
#interface for providing ausf service
INTERFACE_NAME
=
"ens33"
;
#interface for providing ausf service
IPV4_ADDRESS
=
"192.168.2.101/24"
;
#"192.168.61.141/24";
#address for intercafe (cidr)
IPV4_ADDRESS
=
"192.168.2.101/24"
;
#address for intercafe (cidr)
PORT
=
8383
;
#ausf service port
PORT
=
8383
;
#ausf service port
PPID
=
60
;
PPID
=
60
;
};
};
NUDM
:{
NUDM
:{
INTERFACE_NAME
=
"ens32"
;
#interface for providing udm service
INTERFACE_NAME
=
"ens32"
;
#interface for providing udm service
IPV4_ADDRESS
=
"192.168.2.35/24"
;
#address for intercafe (cidr)
IPV4_ADDRESS
=
"192.168.2.35/24"
;
#address for intercafe (cidr)
PORT
=
8181
;
#udm service port
PORT
=
8181
;
#udm service port
#PPID = 60;
};
};
NAMF
:{
NAMF
:{
INTERFACE_NAME
=
"ens33"
;
#interface for request for amf service
INTERFACE_NAME
=
"ens33"
;
#interface for request for amf service
IPV4_ADDRESS
=
"192.168.2.101/24"
;
#amf address (cidr)
IPV4_ADDRESS
=
"192.168.2.101/24"
;
#amf address (cidr)
PORT
=
8383
;
#amf port
PORT
=
8383
;
#amf port
};
};
# NUDR:{
# INTERFACE_NAME = "ens33"; #interface for request for udr service
# IPV4_ADDRESS = "192.168.21.133/24"; #udr address (cidr)
# PORT = 8080; #udr port
# VERSION = "v2";
# };
};
};
# CORE_CONFIGURATION:{
# EMERGENCY_SUPPORT = "false";
# };
# AUTHENTICATION:{
# MYSQL_server = "127.0.0.1";
# MYSQL_user = "bupt"; # Database server login
# MYSQL_pass = "linux"; # Database server password
# MYSQL_db = "OAI_DB";
# OPERATOR_key = "1006020f0a478bf6b699f15c062e42b3"; # op
# RANDOM = "true";
# };
};
};
src/utils/curl.hpp
View file @
87db9a23
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#include "logger.hpp"
#include "logger.hpp"
#include "ausf_config.hpp"
#include "ausf_config.hpp"
#define CURL_TIMEOUT_MS
1
00L
#define CURL_TIMEOUT_MS
3
00L
class
Curl
{
class
Curl
{
public:
public:
...
...
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