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
805cae99
Commit
805cae99
authored
Mar 30, 2022
by
chen2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
47f85bf7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
43 deletions
+77
-43
build/scripts/build_ausf
build/scripts/build_ausf
+12
-1
etc/ausf.template
etc/ausf.template
+34
-0
etc/ausf_docker.conf
etc/ausf_docker.conf
+31
-42
No files found.
build/scripts/build_ausf
View file @
805cae99
...
...
@@ -4,7 +4,7 @@ THIS_SCRIPT_PATH=$(dirname $(readlink -f $0))
OPENXGAUSF_DIR
=
${
THIS_SCRIPT_PATH
%/*
}
OPENXGAUSF_DIR
=
${
OPENXGAUSF_DIR
%/*
}
INSTALL_DIR
=
/usr/local/bin
###############################
## echo and family
###############################
...
...
@@ -141,6 +141,17 @@ function main()
else
make
fi
if
[
!
-d
/etc/5gc/config
]
;
then
$SUDO
mkdir
-p
/etc/5gc/config
fi
$SUDO
cp
-v
$OPENXGAUSF_DIR
/etc/ausf.conf /etc/5gc/config/
$SUDO
cp
-v
$OPENXGAUSF_DIR
/etc/ausf_docker.conf /etc/5gc/config/
$SUDO
chmod
755
$OPENXGAUSF_DIR
/build/AUSF/ausf
$SUDO
cp
-upv
$OPENXGAUSF_DIR
/build/AUSF/ausf
$INSTALL_DIR
&&
$SUDO
chmod
755
$INSTALL_DIR
/ausf
&&
echo_success
"AUSF installed"
return
0
}
main
$@
etc/ausf.template
0 → 100755
View file @
805cae99
## amf configuration file
AUSF =
{
INSTANCE_ID = @INSTANCE_ID@; #10
PID_DIRECTORY = "/var/run";
AUSF_NAME = "bupt-ausf";
NF_REGISTRATION = "no";
INTERFACES:{
SBI_AUSF:{
INTERFACE_NAME = "@INTERFACE_NAME@"; #interface for providing ausf service
IPV4_ADDRESS = "@IPV4_ADDRESS@"; #address for intercafe (cidr)
PORT = @PORT@; #ausf service port
PPID = @PPID@;
};
NUDM:{
INTERFACE_NAME = "@INTERFACE_NAME@"; #interface for providing udm service
IPV4_ADDRESS = "@IPV4_ADDRESS@"; #address for intercafe (cidr)
PORT = @PORT@; #udm service port
};
NAMF:{
INTERFACE_NAME = "@INTERFACE_NAME@"; #interface for request for amf service
IPV4_ADDRESS = "@IPV4_ADDRESS@"; #amf address (cidr)
PORT = @PORT@; #amf port
};
NNRF:{
INTERFACE_NAME = "@INTERFACE_NAME@";
PORT = @PORT@;
API_VERSION = "@API_VERSION@"
};
};
};
etc/ausf_docker.conf
View file @
805cae99
## amf configuration file
################################################################################
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The OpenAirInterface Software Alliance licenses this file to You under
# the OAI Public License, Version 1.1 (the "License"); you may not use this
# file except in compliance with the License. You may obtain a copy of the
# License at
#
# http://www.openairinterface.org/?page_id=698
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
# ! file
# brief
# author Jian Yang,Fengjiao He,Hongxin Wang
# date 2020
# email: contact@openairinterface.org
################################################################################
## ausf configuration file
AUSF
=
{
INSTANCE_ID
=
10
;
#10
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 = (
# {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
:{
SBI_AUSF
:{
...
...
@@ -32,36 +42,15 @@ AUSF =
};
NUDM
:{
INTERFACE_NAME
=
"eth0"
;
#interface for providing udm service
IPV4_ADDRESS
=
"172.1
6
.200.12/24"
;
#address for intercafe (cidr)
IPV4_ADDRESS
=
"172.1
1
.200.12/24"
;
#address for intercafe (cidr)
PORT
=
8181
;
#udm service port
#PPID = 60;
};
NAMF
:{
INTERFACE_NAME
=
"eth0"
;
#interface for request for amf service
IPV4_ADDRESS
=
"172.1
6
.200.14/24"
;
#amf address (cidr)
IPV4_ADDRESS
=
"172.1
1
.200.14/24"
;
#amf address (cidr)
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";
# };
};
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