Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
7146804d
Commit
7146804d
authored
Apr 30, 2022
by
chen2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改libs分组
parent
9b5dc85a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
25 deletions
+27
-25
build/scripts/build_helper.amf
build/scripts/build_helper.amf
+4
-4
build/scripts/build_helper.fb_folly
build/scripts/build_helper.fb_folly
+2
-2
etc/amf.conf
etc/amf.conf
+21
-19
No files found.
build/scripts/build_helper.amf
View file @
7146804d
...
...
@@ -51,7 +51,7 @@ install_fmt() {
echo "Downloading fmt"
$SUDO rm -rf /tmp/fmt*
#git clone https://github.com/fmtlib/fmt.git
git clone http://git.opensource5g.org/
openxg
/fmt.git
git clone http://git.opensource5g.org/
libraries
/fmt.git
ret=$?;[[ $ret -ne 0 ]] && return $ret
cd fmt
cmake -DFMT_TEST=FALSE .
...
...
@@ -86,7 +86,7 @@ install_spdlog_from_git() {
if [[ $prompt =~ [yY](es)* ]]
then
#GIT_URL=https://github.com/gabime/spdlog.git
GIT_URL=http://git.opensource5g.org/
openxg
/spdlog.git
GIT_URL=http://git.opensource5g.org/
libraries
/spdlog.git
echo "Install spdlog from $GIT_URL"
pushd $OPENAIRCN_DIR/build/ext
echo "Downloading spdlog"
...
...
@@ -126,7 +126,7 @@ install_pistache_from_git() {
if [[ $prompt =~ [yY](es)* ]]
then
#GIT_URL=https://github.com/oktal/pistache.git
GIT_URL=http://git.opensource5g.org/
openxg
/pistache.git
GIT_URL=http://git.opensource5g.org/
libraries
/pistache.git
echo "Install Pistache from $GIT_URL"
pushd $OPENAIRCN_DIR/build/ext
echo "Downloading Pistache"
...
...
@@ -172,7 +172,7 @@ install_nlohmann_from_git() {
if [[ $prompt =~ [yY](es)* ]]
then
#GIT_URL=https://github.com/nlohmann/json.git
GIT_URL=http://git.opensource5g.org/
openxg
/json.git
GIT_URL=http://git.opensource5g.org/
libraries
/json.git
echo "Install Nlohmann Json from $GIT_URL"
pushd $OPENAIRCN_DIR/build/ext
echo "Downloading Nlohmann"
...
...
build/scripts/build_helper.fb_folly
View file @
7146804d
...
...
@@ -81,7 +81,7 @@ install_fb_folly_from_source(){
# wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz && \
cd /tmp
git clone http://git.opensource5g.org/
openxg
/openxg-cnlibs.git
git clone http://git.opensource5g.org/
libraries
/openxg-cnlibs.git
cd /tmp/openxg-cnlibs/
tar zxf release-1.8.0.tar.gz && \
...
...
@@ -97,7 +97,7 @@ install_fb_folly_from_source(){
$SUDO rm -rf /tmp/folly
#git clone https://github.com/facebook/folly.git
git clone http://git.opensource5g.org/
openxg
/folly.git
git clone http://git.opensource5g.org/
libraries
/folly.git
ret=$?;[[ $ret -ne 0 ]] && popd && return $ret
cd folly
mkdir _build && cd _build
...
...
etc/amf.conf
View file @
7146804d
...
...
@@ -26,7 +26,7 @@ AMF =
AMF_NAME
=
"OAI-AMF"
;
RELATIVE_CAPACITY
=
5
0
;
RELATIVE_CAPACITY
=
3
0
;
# Display statistics about whole system (in seconds)
STATISTICS_TIMER_INTERVAL
=
20
;
# YOUR CONFIG HERE
...
...
@@ -37,11 +37,12 @@ AMF =
GUAMI
:
{
MCC
=
"466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
AMFSetID
=
"
4
"
;
AMFPointer
=
"1"
# YOUR GUAMI CONFIG HERE
MCC
=
"466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
AMFSetID
=
"
1
"
;
AMFPointer
=
"1"
# YOUR GUAMI CONFIG HERE
}
SERVED_GUAMI_LIST
= (
{
MCC
=
"466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
AMFSetID
=
"4"
;
AMFPointer
=
"1"
}
#48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
{
MCC
=
"466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
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>
);
PLMN_SUPPORT_LIST
= (
...
...
@@ -49,6 +50,7 @@ AMF =
MCC
=
"466"
;
MNC
=
"92"
;
TAC
=
100
;
# YOUR PLMN CONFIG HERE
SLICE_SUPPORT_LIST
= (
{
SST
=
"1"
;
SD
=
"none"
}
# YOUR NSSAI CONFIG HERE
#{SST = "1"; SD = "12"} # YOUR NSSAI CONFIG HERE
)
}
);
...
...
@@ -58,29 +60,28 @@ AMF =
# AMF binded interface for N1/N2 interface (NGAP)
NGAP_AMF
:
{
INTERFACE_NAME
=
"ens3
2"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
INTERFACE_NAME
=
"ens3
3"
;
# YOUR NETWORK CONFIG HERE ens3
IPV4_ADDRESS
=
"read"
;
PORT
=
38412
;
# YOUR NETWORK CONFIG HERE
PPID
=
60
;
# YOUR NETWORK CONFIG HERE
};
# AMF binded interface for Nausf interface
NAUSF
:
{
INTERFACE_NAME
=
"ens3
2
"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"192.168.199.1
81
/24"
;
INTERFACE_NAME
=
"ens3
3
"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"192.168.199.1
7
/24"
;
PORT
=
8383
;
# YOUR NETWORK CONFIG HERE
};
# AMF binded interface for N11
N11
:
{
INTERFACE_NAME
=
"ens3
2"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
PORT
=
8282
;
# YOUR NETWORK CONFIG HERE
INTERFACE_NAME
=
"ens3
3"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
PORT
=
8282
;
# YOUR NETWORK CONFIG HERE
SMF_INSTANCES_POOL
= (
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"192.168.199.1
81"
;
PORT
=
"8889"
;
VERSION
=
"v1
"
;
SELECTED
=
"true"
},
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
2
;
IPV4_ADDRESS
=
"1
0.103.238.21"
;
PORT
=
"8181
"
;
VERSION
=
"v1"
;
SELECTED
=
"false"
}
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"192.168.199.1
7"
;
PORT
=
"8889"
;
VERSION
=
"v2
"
;
SELECTED
=
"true"
},
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
2
;
IPV4_ADDRESS
=
"1
92.168.122.2"
;
PORT
=
"80
"
;
VERSION
=
"v1"
;
SELECTED
=
"false"
}
# YOUR SMF CONFIG HERE
);
};
};
...
...
@@ -89,20 +90,21 @@ AMF =
AUTHENTICATION
:
{
## MySQL mandatory options
MYSQL_server
=
"1
92.168.199.18
1"
;
# MySQL Server address
MYSQL_server
=
"1
27.0.0.
1"
;
# MySQL Server address
MYSQL_user
=
"root"
;
# Database server login
MYSQL_pass
=
"123456"
;
# Database server password
MYSQL_db
=
"OAI_DB"
;
# Your database name
MYSQL_db
=
"OAI_DB"
;
# Your database
#MYSQL_PORT = 3309; //如果用docker里面的数据库就打开注释
## OP
OPERATOR_key
=
"
1006020f0a478bf6b699f15c062e42b3
"
;
# OP key matching your database
OPERATOR_key
=
"
63bfa50ee6523365ff14c1f45f88737d
"
;
# OP key matching your database
RANDOM
=
"true"
;
};
NAS
:
{
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST
= [
"NIA1"
,
"NIA0"
,
"NIA2
"
];
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST
= [
"NEA0"
,
"NEA1"
,
"NEA2"
];
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST
= [
"NIA2"
,
"NIA1"
,
"NIA1
"
];
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST
= [
"NEA0"
,
"NEA1"
,
"NEA2"
];
};
};
...
...
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