Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDM
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-UDM
Commits
e3aa2e6c
Commit
e3aa2e6c
authored
Mar 30, 2022
by
chen2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
bd6bad69
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
6 deletions
+69
-6
build/scripts/build_udm
build/scripts/build_udm
+9
-0
etc/udm.conf
etc/udm.conf
+4
-4
etc/udm.template
etc/udm.template
+26
-0
etc/udm_docker.conf
etc/udm_docker.conf
+30
-2
No files found.
build/scripts/build_udm
View file @
e3aa2e6c
...
...
@@ -138,6 +138,15 @@ function main()
else
make
fi
if
[
!
-d
/etc/5gc/config
]
;
then
$SUDO
mkdir
-p
/etc/5gc/config
fi
$SUDO
cp
-v
$OPENXGUDM_DIR
/etc/udm.conf /etc/5gc/config/
$SUDO
cp
-v
$OPENXGUDM_DIR
/etc/udm_docker.conf /etc/5gc/config/
$SUDO
chmod
755
$OPENXGUDM_DIR
/build/UDM/udm
$SUDO
cp
-upv
$OPENXGUDM_DIR
/build/UDM/udm
$INSTALL_DIR
&&
$SUDO
chmod
755
$INSTALL_DIR
/udm
&&
echo_success
"UDM installed"
return
0
...
...
etc/udm.conf
100644 → 100755
View file @
e3aa2e6c
...
...
@@ -8,14 +8,14 @@ UDM =
INTERFACES
:{
SBI_UDM
:{
INTERFACE_NAME
=
"en
o1
"
;
#interface for providing udm service
IPV4_ADDRESS
=
"192.168.199.
222
/24"
;
#address for intercafe (cidr)
INTERFACE_NAME
=
"en
s32
"
;
#interface for providing udm service
IPV4_ADDRESS
=
"192.168.199.
186
/24"
;
#address for intercafe (cidr)
PORT
=
8181
;
#udm service port
PPID
=
60
;
};
NUDR
:{
INTERFACE_NAME
=
"en
o1
"
;
#interface for request for udr service
IPV4_ADDRESS
=
"192.168.199.
222
/24"
;
#udr address (cidr)
INTERFACE_NAME
=
"en
s32
"
;
#interface for request for udr service
IPV4_ADDRESS
=
"192.168.199.
186
/24"
;
#udr address (cidr)
PORT
=
8080
;
#udr port
VERSION
=
"v2"
;
};
...
...
etc/udm.template
0 → 100644
View file @
e3aa2e6c
## udm configuration file
UDM =
{
INSTANCE_ID = 10;
PID_DIRECTORY = "/var/run";
UDM_NAME = "bupt-amf";
INTERFACES:{
SBI_UDM:{
INTERFACE_NAME = "@INTERFACE_NAME@"; #interface for providing udm service
IPV4_ADDRESS = "@IPV4_ADDRESS@"; #address for intercafe (cidr)
PORT = @PORT@; #udm service port
PPID = @PPID@;
};
NUDR:{
INTERFACE_NAME = "@INTERFACE_NAME@"; #interface for request for udr service
IPV4_ADDRESS = "@IPV4_ADDRESS@"; #udr address (cidr)
PORT = @PORT@; #udr port
VERSION = "@VERSION@";
};
};
};
etc/udm_docker.conf
100644 → 100755
View file @
e3aa2e6c
################################################################################
# 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
################################################################################
## udm configuration file
UDM
=
{
INSTANCE_ID
=
10
;
PID_DIRECTORY
=
"/var/run"
;
UDM_NAME
=
"bupt-
amf
"
;
UDM_NAME
=
"bupt-
udm
"
;
INTERFACES
:{
SBI_UDM
:{
...
...
@@ -15,7 +43,7 @@ UDM =
};
NUDR
:{
INTERFACE_NAME
=
"eth0"
;
#interface for request for udr service
IPV4_ADDRESS
=
"172.1
6
.200.11/24"
;
#udr address (cidr)
IPV4_ADDRESS
=
"172.1
1
.200.11/24"
;
#udr address (cidr)
PORT
=
8081
;
#udr port
VERSION
=
"v2"
;
};
...
...
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