-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add upfcfg.yaml to config and specify upf log output file in run.sh
- Loading branch information
1 parent
bef19d5
commit fa56062
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
Submodule upf
updated
26 files
+4 −0 | config/upfcfg.example.yaml | |
+4 −0 | config/upfcfg.test.example.yaml | |
+4 −0 | config/upfcfg.ulcl.example.yaml | |
+3 −4 | go.mod | |
+109 −89 | go.sum | |
+33 −33 | lib/pfcp/src/pfcp_xact.c | |
+4 −0 | lib/utlt/include/utlt_debug.h | |
+2 −0 | lib/utlt/include/utlt_timer.h | |
+32 −12 | lib/utlt/logger/logger.go | |
+62 −7 | lib/utlt/src/utlt_debug.c | |
+31 −16 | lib/utlt/src/utlt_timer.c | |
+6 −3 | src/n4/n4_dispatcher.c | |
+12 −6 | src/n4/n4_pfcp_build.c | |
+50 −0 | src/n4/n4_pfcp_handler.c | |
+1 −0 | src/n4/n4_pfcp_handler.h | |
+31 −12 | src/up/up_match.c | |
+28 −20 | src/up/up_path.c | |
+45 −6 | src/upf.c | |
+3 −0 | src/upf_config.c | |
+10 −1 | src/upf_context.c | |
+2 −0 | src/upf_context.h | |
+68 −4 | src/upf_init.c | |
+12 −0 | src/upf_init.h | |
+1 −0 | updk/src/kernel/gtp5g_buffer.c | |
+1 −0 | updk/src/kernel/gtp5g_context.c | |
+9 −3 | updk/src/kernel/gtpv1/src/gtp_path.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
info: | ||
version: 1.0.0 | ||
description: UPF configuration | ||
|
||
configuration: | ||
# the kind of log output | ||
# debugLevel: how detailed to output, value: trace, debug, info, warn, error, fatal, panic | ||
# ReportCaller: enable the caller report or not, value: true or false | ||
debugLevel: info | ||
ReportCaller: false | ||
|
||
# packetBufferHoldTime should be longer than Paging retry-out time of AMF. | ||
# unit: seconds | ||
packetBufferHoldTime: 30 | ||
|
||
# The IP list of the N4 interface on this UPF (Can't set to 0.0.0.0) | ||
pfcp: | ||
- addr: 127.0.0.8 | ||
|
||
# The IP list of the N3/N9 interfaces on this UPF | ||
# If there are multiple connection, set addr to 0.0.0.0 or list all the addresses | ||
gtpu: | ||
- addr: 127.0.0.8 | ||
# [optional] gtpu.name | ||
# - name: upf.5gc.nctu.me | ||
# [optional] gtpu.ifname | ||
# - ifname: gtpif | ||
|
||
# The DNN list supported by UPF | ||
dnn_list: | ||
- dnn: internet # Data Network Name | ||
cidr: 60.60.0.0/24 # Classless Inter-Domain Routing for assigned IPv4 pool of UE | ||
# [optional] dnn_list[*].natifname | ||
# natifname: eth0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters