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
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
lizhongxiao
openxg-5gcs-release
Commits
e325bc3f
Commit
e325bc3f
authored
Jan 11, 2024
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add spgwu config
parent
28507a34
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
154 additions
and
0 deletions
+154
-0
docker-compose/docker-3-local.yml
docker-compose/docker-3-local.yml
+8
-0
docker-compose/docker-3-network-element.yml
docker-compose/docker-3-network-element.yml
+6
-0
etc/spgwu.template
etc/spgwu.template
+140
-0
No files found.
docker-compose/docker-3-local.yml
View file @
e325bc3f
...
@@ -51,10 +51,18 @@ services:
...
@@ -51,10 +51,18 @@ services:
networks
:
networks
:
openxg
:
openxg
:
ipv4_address
:
172.11.200.25
ipv4_address
:
172.11.200.25
volumes
:
-
../etc/spgwu.template:/openxg-upf/etc/spgwu.template
environment
:
environment
:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
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
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
MAX_BANDWIDTH=20mbit
...
...
docker-compose/docker-3-network-element.yml
View file @
e325bc3f
...
@@ -59,6 +59,12 @@ services:
...
@@ -59,6 +59,12 @@ services:
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
UPF_LOG_LEVEL=debug
# Which to use debug/trace/info/warning/error/critical/off
-
SMF_N4_ADDR=172.11.200.15
-
SMF_N4_ADDR=172.11.200.15
-
PDN_NETWORK_IPV4=192.169.0.0/16
-
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
# rate-limiting
-
IS_BANDWIDTH_LIMIT=no
-
IS_BANDWIDTH_LIMIT=no
-
MAX_BANDWIDTH=20mbit
-
MAX_BANDWIDTH=20mbit
...
...
etc/spgwu.template
0 → 100644
View file @
e325bc3f
################################################################################
# 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
################################################################################
SPGW-U =
{
#FQDN = "upf"; # FQDN for 4G
INSTANCE = 10; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default
LOG_LEVEL = "{{ env["UPF_LOG_LEVEL"] }}";
#ITTI_TASKS :
#{
#ITTI_TIMER_SCHED_PARAMS :
#{
#CPU_ID = 1;
#SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
#SCHED_PRIORITY = 85;
#};
#S1U_SCHED_PARAMS :
#{
#CPU_ID = 1;
#SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
#SCHED_PRIORITY = 84;
#};
#SX_SCHED_PARAMS :
#{
#CPU_ID = 1;
#SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
#SCHED_PRIORITY = 84;
#};
#ASYNC_CMD_SCHED_PARAMS :
#{
#CPU_ID = 1;
#SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
#SCHED_PRIORITY = 84;
#};
#};
INTERFACES :
{
S1U_S12_S4_UP :
{
# S-GW binded interface for S1-U communication (GTPV1-U) can be ethernet interface, virtual ethernet interface, we don't advise wireless interfaces
INTERFACE_NAME = "{{ env["S1U_INTERFACE_NAME"] }}"; # STRING, interface name, YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "{{ env["S1U_IPV4_ADDRESS"] }}"; # STRING, CIDR or "read to let app read interface configured IP address
#PORT = 2152; # Default is 2152
SCHED_PARAMS :
{
#CPU_ID = 2;
SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
SCHED_PRIORITY = 88;
POOL_SIZE = 1; # NUM THREADS
};
};
SX :
{
# S/P-GW binded interface for SX communication
INTERFACE_NAME = "{{ env["SX_INTERFACE_NAME"] }}"; # STRING, interface name
IPV4_ADDRESS = "{{ env["SX_IPV4_ADDRESS"] }}"; # STRING, CIDR or "read" to let app read interface configured IP address
#PORT = 8805; # Default is 8805
SCHED_PARAMS :
{
#CPU_ID = 1;
SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
SCHED_PRIORITY = 88;
POOL_SIZE = 1; # NUM THREADS
};
};
SGI :
{
# No config to set, the software will set the SGi interface to the interface used for the default route.
INTERFACE_NAME = "{{ env["SGI_INTERFACE_NAME"] }}"; # STRING, interface name or "default_gateway"
IPV4_ADDRESS = "{{ env["SGI_IPV4_ADDRESS"] }}"; # STRING, CIDR or "read" to let app read interface configured IP address
SCHED_PARAMS :
{
#CPU_ID = 3;
SCHED_POLICY = "SCHED_FIFO"; # Values in { SCHED_OTHER, SCHED_IDLE, SCHED_BATCH, SCHED_FIFO, SCHED_RR }
SCHED_PRIORITY = 98;
POOL_SIZE = 1; # NUM THREADS
};
};
};
SNAT = "yes"; # SNAT Values in {yes, no}
PDN_NETWORK_LIST = (
{NETWORK_IPV4 = "{{ env["PDN_NETWORK_IPV4"] }}";} # 1 ITEM SUPPORTED ONLY
);
SPGW-C_LIST = (
{IPV4_ADDRESS="{{ env["SMF_N4_ADDR"] }}" ;}
);
NON_STANDART_FEATURES :
{
BYPASS_UL_PFCP_RULES = "no"; # 'no' for standard features, yes for enhancing UL throughput
};
SUPPORT_5G_FEATURES:
{
# STRING, {"yes", "no"},
ENABLE_5G_FEATURES = "yes"; # Set to 'yes' to support 5G Features
REGISTER_NRF = "no"; # Set to 'yes' if UPF resgisters to an NRF
USE_FQDN_NRF = "no"; # Set to 'yes' if UPF relies on a DNS/FQDN service to resolve NRF's FQDN
UPF_FQDN_5G = "no"; # Set FQDN of UPF
NRF :
{
IPV4_ADDRESS = "127.0.0.1"; # YOUR NRF CONFIG HERE
PORT = 8030; # YOUR NRF CONFIG HERE (default: 80)
HTTP_VERSION = 1; #Set HTTP version for NRF (1 or 2)Default 1
API_VERSION = "v1"; # YOUR NRF API VERSION HERE
#FQDN = "@NRF_FQDN@";
};
# Additional info to be sent to NRF for supporting Network Slicing
UPF_INFO = (
{ NSSAI_SST = 1; NSSAI_SD = "0xFFFFFF"; DNN_LIST = ({DNN = "default";}); },
{ NSSAI_SST = 1; NSSAI_SD = "0xFFFFFF"; DNN_LIST = ({DNN = "ims";}); },
{ NSSAI_SST = 1; NSSAI_SD = "0xFFFFFF"; DNN_LIST = ({DNN = "ctnet";}); },
{ NSSAI_SST = 1; NSSAI_SD = "0xFFFFFF"; DNN_LIST = ({DNN = "internet";}); }
);
}
};
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