Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openxg-5gcs-release
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-5gcs-release
Commits
164d16cf
Commit
164d16cf
authored
Jan 23, 2024
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add oai v1.5.0
parent
1c31be68
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
483 additions
and
136 deletions
+483
-136
docker-compose/docker-3-local.yml
docker-compose/docker-3-local.yml
+91
-66
docker-compose/docker-3-network-element.yml
docker-compose/docker-3-network-element.yml
+95
-70
etc/amf.template
etc/amf.template
+147
-0
etc/smf.template
etc/smf.template
+150
-0
No files found.
docker-compose/docker-3-local.yml
View file @
164d16cf
version
:
'
3.3'
services
:
openxg-amf
:
image
:
openxgmaster/amf:v1.0
container_name
:
amf
restart
:
always
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
aliases
:
-
web_amf
ipv4_address
:
172.11.200.14
command
:
-
/bin/bash
-
-c
-
|
cd /opt/5gc/amf/
./start.sh --no-ausf
volumes
:
-
../etc/amf.conf:/opt/5gc/amf/external.conf
image
:
openxg5gc/openxg-amf:v1.5.1
container_name
:
amf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.14
volumes
:
-
../etc/amf.template:/openxg-amf/etc/amf.template
environment
:
-
AMF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
MCC=466
-
MNC=92
-
TAC=100
-
AMF_NGAP_INTERFACE_NAME=eth0
-
AMF_NGAP_IPV4_ADDRESS=read
-
AMF_SBI_INTERFACE_NAME=eth0
-
AMF_SBI_IPV4_ADDRESS=read
-
AMF_SBI_HTTP1_PORT=8004
-
SMF_SBI_ADDR=172.11.200.15
-
SMF_SBI_HTTP1_PORT=8005
# MYSQL
-
AMF_MySQL_SERVER_ADDR=172.11.200.10
-
AMF_MySQL_USERNAME=root
-
AMF_MySQL_PASSWORD=123456
-
AMF_MySQL_DATABASE=Witcomm-DB
openxg-smf
:
image
:
openxgmaster/smf:v1.0
container_name
:
smf
restart
:
always
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
aliases
:
-
web_smf
ipv4_address
:
172.11.200.15
volumes
:
-
../etc/smf.conf:/opt/5gc/smf/external.conf
image
:
openxg5gc/openxg-smf:v1.5.1
container_name
:
smf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
ipv4_address
:
172.11.200.15
volumes
:
-
../etc/smf.template:/openxg-smf/etc/smf.template
environment
:
-
SMF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_INTERFACE_NAME=eth0
-
SMF_N4_IPV4_ADDRESS=read
-
SMF_SBI_INTERFACE_NAME=eth0
-
SMF_SBI_IPV4_ADDRESS=read
-
SMF_SBI_HTTP1_PORT=8005
-
AMF_SBI_IPV4_ADDRESS=172.11.200.14
-
AMF_SBI_HTTP1_PORT=8004
openxg-spgwu
:
container_name
:
"
spgwu"
image
:
openxg5gc/openxg-upf:v1.5.0
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.25
volumes
:
-
../etc/spgwu.template:/openxg-upf/etc/spgwu.template
environment
:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
S1U_INTERFACE_NAME=eth0
-
S1U_IPV4_ADDRESS=read
-
SX_INTERFACE_NAME=eth0
-
SX_IPV4_ADDRESS=read
-
SGI_INTERFACE_NAME=eth0
-
SGI_IPV4_ADDRESS=read
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
IUPF_BANDWIDTH=10mbit
-
DEFAULT_BANDWIDTH=5mbit
container_name
:
"
spgwu"
image
:
openxg5gc/openxg-upf:v1.5.1
depends_on
:
-
openxg-smf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.25
volumes
:
-
../etc/spgwu.template:/openxg-upf/etc/spgwu.template
environment
:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
S1U_INTERFACE_NAME=eth0
-
S1U_IPV4_ADDRESS=read
-
SX_INTERFACE_NAME=eth0
-
SX_IPV4_ADDRESS=read
-
SGI_INTERFACE_NAME=eth0
-
SGI_IPV4_ADDRESS=read
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
IUPF_BANDWIDTH=10mbit
-
DEFAULT_BANDWIDTH=5mbit
networks
:
openxg
:
name
:
docker-openxg
external
:
true
openxg
:
name
:
docker-openxg
external
:
true
docker-compose/docker-3-network-element.yml
View file @
164d16cf
version
:
'
3.3'
services
:
openxg-amf
:
image
:
openxgmaster/amf:v1.0
container_name
:
amf
restart
:
always
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
aliases
:
-
web_amf
ipv4_address
:
172.11.200.14
ports
:
-
"
38412:38412/sctp"
command
:
-
/bin/bash
-
-c
-
|
cd /opt/5gc/amf/
./start.sh --no-ausf
volumes
:
-
../etc/amf.conf:/opt/5gc/amf/external.conf
image
:
openxg5gc/openxg-amf:v1.5.1
container_name
:
amf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.14
ports
:
-
"
38412:38412/sctp"
volumes
:
-
../etc/amf.template:/openxg-amf/etc/amf.template
environment
:
-
AMF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
MCC=466
-
MNC=92
-
TAC=100
-
AMF_NGAP_INTERFACE_NAME=eth0
-
AMF_NGAP_IPV4_ADDRESS=read
-
AMF_SBI_INTERFACE_NAME=eth0
-
AMF_SBI_IPV4_ADDRESS=read
-
AMF_SBI_HTTP1_PORT=8004
-
SMF_SBI_ADDR=172.11.200.15
-
SMF_SBI_HTTP1_PORT=8005
# MYSQL
-
AMF_MySQL_SERVER_ADDR=172.11.200.10
-
AMF_MySQL_USERNAME=root
-
AMF_MySQL_PASSWORD=123456
-
AMF_MySQL_DATABASE=Witcomm-DB
openxg-smf
:
image
:
openxgmaster/smf:v1.0
container_name
:
smf
restart
:
always
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
aliases
:
-
web_smf
ipv4_address
:
172.11.200.15
volumes
:
-
../etc/smf.conf:/opt/5gc/smf/external.conf
image
:
openxg5gc/openxg-smf:v1.5.1
container_name
:
smf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
networks
:
openxg
:
ipv4_address
:
172.11.200.15
volumes
:
-
../etc/smf.template:/openxg-smf/etc/smf.template
environment
:
-
SMF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_INTERFACE_NAME=eth0
-
SMF_N4_IPV4_ADDRESS=read
-
SMF_SBI_INTERFACE_NAME=eth0
-
SMF_SBI_IPV4_ADDRESS=read
-
SMF_SBI_HTTP1_PORT=8005
-
AMF_SBI_IPV4_ADDRESS=172.11.200.14
-
AMF_SBI_HTTP1_PORT=8004
openxg-spgwu
:
container_name
:
"
spgwu"
image
:
openxg5gc/openxg-upf:v1.5.0
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.25
ports
:
-
"
2152:2152/udp"
volumes
:
-
../etc/spgwu.template:/openxg-upf/etc/spgwu.template
environment
:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
S1U_INTERFACE_NAME=eth0
-
S1U_IPV4_ADDRESS=read
-
SX_INTERFACE_NAME=eth0
-
SX_IPV4_ADDRESS=read
-
SGI_INTERFACE_NAME=eth0
-
SGI_IPV4_ADDRESS=read
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
IUPF_BANDWIDTH=10mbit
-
DEFAULT_BANDWIDTH=5mbit
container_name
:
"
spgwu"
image
:
openxg5gc/openxg-upf:v1.5.1
depends_on
:
-
openxg-smf
restart
:
always
privileged
:
true
stdin_open
:
true
tty
:
true
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
1m"
networks
:
openxg
:
ipv4_address
:
172.11.200.25
ports
:
-
"
2152:2152/udp"
volumes
:
-
../etc/spgwu.template:/openxg-upf/etc/spgwu.template
environment
:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
S1U_INTERFACE_NAME=eth0
-
S1U_IPV4_ADDRESS=read
-
SX_INTERFACE_NAME=eth0
-
SX_IPV4_ADDRESS=read
-
SGI_INTERFACE_NAME=eth0
-
SGI_IPV4_ADDRESS=read
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
IUPF_BANDWIDTH=10mbit
-
DEFAULT_BANDWIDTH=5mbit
networks
:
openxg
:
name
:
docker-openxg
external
:
true
openxg
:
name
:
docker-openxg
external
:
true
etc/amf.
conf
→
etc/amf.
template
View file @
164d16cf
...
...
@@ -18,16 +18,18 @@
# For more information about the OpenAirInterface (OAI) Software Alliance:
# contact@openairinterface.org
################################################################################
AMF =
{
INSTANCE_ID
=
10
;
# 0 is the default
INSTANCE_ID =
4
; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default
AMF_NAME
=
"OAI-AMF"
;
AMF_NAME = "OPENXG-AMF";
LOG_LEVEL = "{{ env["AMF_LOG_LEVEL"] }}";
RELATIVE_CAPACITY
=
5
0
;
RELATIVE_CAPACITY =
3
0;
# Display statistics about whole system (in seconds)
STATISTICS_TIMER_INTERVAL
=
20
;
# YOUR CONFIG HERE
STATISTICS_TIMER_INTERVAL = 20;
CORE_CONFIGURATION:
{
...
...
@@ -36,80 +38,110 @@ AMF =
GUAMI:
{
MCC
=
"
466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
AMFSetID
=
"4"
;
AMFPointer
=
"1"
# YOUR GUAMI CONFIG HERE
MCC = "
{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "1"
}
SERVED_GUAMI_LIST = (
{
MCC
=
"
466"
;
MNC
=
"92"
;
RegionID
=
"128"
;
AMFSetID
=
"4"
;
AMFPointer
=
"1
"
}
#48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
{MCC = "
{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; RegionID = "128"; AMFSetID = "4"; AMFPointer = "0
"} #48bits <MCC><MNC><RegionID><AMFSetID><AMFPointer>
);
PLMN_SUPPORT_LIST = (
{
MCC
=
"
466"
;
MNC
=
"92"
;
TAC
=
100
;
# YOUR PLMN CONFIG HERE
MCC = "
{{ env["MCC"] }}"; MNC = "{{ env["MNC"] }}"; TAC = {{ env["TAC"] }};
SLICE_SUPPORT_LIST = (
{
SST
=
"1"
;
SD
=
"none"
}
# YOUR NSSAI CONFIG HERE
# {SST = "@SST_0@"; SD = "@SD_0@"},
# {SST = "@SST_1@"; SD = "@SD_1@"},
{SST = 1; SD = "0xFFFFFF"}
)
}
);
INTERFACES:
{
# AMF binded interface for N1/N2 interface (NGAP)
NGAP_AMF:
{
INTERFACE_NAME
=
"eth0"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
PORT
=
38412
;
# YOUR NETWORK CONFIG HERE
PPID
=
60
;
# YOUR NETWORK CONFIG HERE
INTERFACE_NAME = "{{ env["AMF_NGAP_INTERFACE_NAME"] }}";
IPV4_ADDRESS = "{{ env["AMF_NGAP_IPV4_ADDRESS"] }}";
PORT = 38412;
PPID = 60;
};
# AMF binded interface for SBI (N11 (SMF)/N12 (AUSF), etc.)
SBI:
{
INTERFACE_NAME = "{{ env["AMF_SBI_INTERFACE_NAME"] }}";
IPV4_ADDRESS = "{{ env["AMF_SBI_IPV4_ADDRESS"] }}";
PORT = {{ env["AMF_SBI_HTTP1_PORT"] }};
API_VERSION = "v1";
HTTP2_PORT = 8404;
SMF_INSTANCES_POOL = (
{SMF_INSTANCE_ID = 5; IPV4_ADDRESS = "{{ env["SMF_SBI_ADDR"] }}"; PORT = {{ env["SMF_SBI_HTTP1_PORT"] }}; HTTP2_PORT = 8405, VERSION = "v1"; FQDN = "smf", SELECTED = "true"}
);
};
# AMF binded interface for Nausf interface
N
AUSF
:
N
RF
:
{
INTERFACE_NAME
=
"eth0"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"172.11.200.13/24"
;
PORT
=
8383
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "127.0.0.10";
PORT = 8010; # Default: 80
API_VERSION = "v1";
#FQDN = "localhost";
};
# AMF binded interface for N11
N11
:
AUSF :
{
INTERFACE_NAME
=
"eth0"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
PORT
=
8282
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "127.0.0.4";
PORT = 8003; # Default: 80
API_VERSION = "v1";
#FQDN = "localhost";
};
SMF_INSTANCES_POOL
= (
{
SMF_INSTANCE_ID
=
1
;
IPV4_ADDRESS
=
"172.11.200.15"
;
PORT
=
"8889"
;
VERSION
=
"v1"
;
SELECTED
=
"true"
},
# YOUR SMF CONFIG HERE
{
SMF_INSTANCE_ID
=
2
;
IPV4_ADDRESS
=
"10.103.238.21"
;
PORT
=
"8181"
;
VERSION
=
"v1"
;
SELECTED
=
"false"
}
# YOUR SMF CONFIG HERE
);
UDM :
{
IPV4_ADDRESS = "127.0.0.3";
PORT = 8002; # Default: 80
API_VERSION = "v2";
#FQDN = "localhost";
};
};
# NSSF :
# {
# IPV4_ADDRESS = "127.0.0.1";
# PORT = 80; # Default: 80
# API_VERSION = "v2";
# FQDN = "localhost"
# };
};
SUPPORT_FEATURES:
{
# STRING, {"yes", "no"},
NF_REGISTRATION = "no"; # Set to yes if AMF resgisters to an NRF
NRF_SELECTION = "no"; # Set to yes to enable NRF discovery and selection
EXTERNAL_NRF = "no"; # Set to yes if AMF works with an external NRF
SMF_SELECTION = "no"; # Set to yes to enable SMF discovery and selection
EXTERNAL_AUSF = "no"; # Set to yes if AMF works with an external AUSF
EXTERNAL_UDM = "no"; # Set to yes if AMF works with an external UDM
EXTERNAL_NSSF = "no"; # Set to yes if AMF works with an external NSSF
USE_FQDN_DNS = "no"; # Set to yes if AMF relies on a DNS to resolve NRF/SMF/UDM/AUSF's FQDN
USE_HTTP2 = "no"; # Set to yes to enable HTTP2 for AMF server
}
AUTHENTICATION:
{
## MySQL mandatory options
MYSQL_server
=
"172.11.200.10"
;
# MySQL Server address
MYSQL_user
=
"root"
;
# Database server login
MYSQL_pass
=
"123456"
;
# Database server password
MYSQL_db
=
"Witcomm-DB"
;
# Your database name
## OP
OPERATOR_key
=
"1006020f0a478bf6b699f15c062e42b3"
;
# OP key matching your database
MYSQL_server = "{{ env["AMF_MySQL_SERVER_ADDR"] }}"; # MySQL Server address
MYSQL_user = "{{ env["AMF_MySQL_USERNAME"] }}"; # Database server login
MYSQL_pass = "{{ env["AMF_MySQL_PASSWORD"] }}"; # Database server password
MYSQL_db = "{{ env["AMF_MySQL_DATABASE"] }}"; # Your database name
RANDOM = "true";
};
NAS:
{
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST
= [
"NIA2"
,
"NIA1"
,
"NIA1
"
];
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST
=
[
"NEA0"
,
"NEA1"
,
"NEA2"
];
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = [ "NIA2" , "NIA1" , "NIA0" ]; #Default [ "NIA0" , "NIA1" , "NIA2
" ];
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = [ "NEA0" , "NEA1" , "NEA2" ]; #Default
[ "NEA0" , "NEA1" , "NEA2" ];
};
};
MODULES
=
{
NGAP_MESSAGE
= (
{
MSG_NAME
=
"NGSetupRequest"
;
ProcedureCode
=
21
;
TypeOfMessage
=
"initialMessage"
}
);
};
etc/smf.
conf
→
etc/smf.
template
View file @
164d16cf
This diff is collapsed.
Click to expand it.
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