Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-UPF
Commits
2f6109b0
Commit
2f6109b0
authored
Mar 26, 2021
by
wangyongshou
Browse files
Options
Browse Files
Download
Plain Diff
Support UE handover on different GNB;
parents
1f9af1d7
1c16d601
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/upf-n4/pkg/upf/controller/server.go
src/upf-n4/pkg/upf/controller/server.go
+3
-2
No files found.
src/upf-n4/pkg/upf/controller/server.go
View file @
2f6109b0
...
@@ -292,7 +292,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
...
@@ -292,7 +292,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
log
.
Info
(
"SEID:%d"
,
msg
.
SEID
())
log
.
Info
(
"SEID:%d"
,
msg
.
SEID
())
log
.
Info
(
"TEID 0x%x"
,
outerHeaderCreation
.
TEID
)
log
.
Info
(
"TEID 0x%x"
,
outerHeaderCreation
.
TEID
)
log
.
Info
(
"UE IP: %s"
,
ueSeid
[
msg
.
SEID
()])
log
.
Info
(
"UE IP: %s"
,
ueSeid
[
msg
.
SEID
()])
log
.
Info
(
"
FAR ID:%d"
,
farid
)
log
.
Info
(
"FAR ID:%d"
,
farid
)
log
.
Info
(
"UE IPv4:%s"
,
ueIP
)
log
.
Info
(
"UE IPv4:%s"
,
ueIP
)
log
.
Info
(
"GNB GTPU IP:%s"
,
gnbIP
)
log
.
Info
(
"GNB GTPU IP:%s"
,
gnbIP
)
cause
:=
ie
.
NewCause
(
ie
.
CauseRequestAccepted
)
cause
:=
ie
.
NewCause
(
ie
.
CauseRequestAccepted
)
...
@@ -334,6 +334,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
...
@@ -334,6 +334,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
log
.
Info
(
"pdrid: %d"
,
farid
)
log
.
Info
(
"pdrid: %d"
,
farid
)
log
.
Info
(
"ueip %s:index %d"
,
ueip
,
updateUeIndex
[
ueip
])
log
.
Info
(
"ueip %s:index %d"
,
ueip
,
updateUeIndex
[
ueip
])
log
.
Info
(
"TEID 0x%x"
,
outerHeaderCreation
.
TEID
)
log
.
Info
(
"TEID 0x%x"
,
outerHeaderCreation
.
TEID
)
log
.
Info
(
"GNB GTPu: %s"
,
outerHeaderCreation
.
IPv4Address
.
String
())
req
:=
&
upf
.
UpfSsmReq
{
req
:=
&
upf
.
UpfSsmReq
{
CpSeid
:
msg
.
SEID
(),
CpSeid
:
msg
.
SEID
(),
...
@@ -349,7 +350,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
...
@@ -349,7 +350,7 @@ func handleSessionModificationMsg(config *conf.Config, msgContent message.Messag
FTeid
:
upf
.
BuptPfcpFTeid
{
FTeid
:
upf
.
BuptPfcpFTeid
{
Flags
:
1
,
Flags
:
1
,
Teid
:
outerHeaderCreation
.
TEID
,
Teid
:
outerHeaderCreation
.
TEID
,
IP
:
upf
.
BuptNodeValueIP4
(
ip4ToUint
(
config
.
Gnb
)),
IP
:
upf
.
BuptNodeValueIP4
(
ip4ToUint
(
outerHeaderCreation
.
IPv4Address
.
String
()
)),
},
},
UeAddr
:
upf
.
BuptPfcpUeIPAddress
{
UeAddr
:
upf
.
BuptPfcpUeIPAddress
{
Flags
:
2
,
Flags
:
2
,
...
...
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