Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
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-AMF
Commits
06da6485
Commit
06da6485
authored
Mar 10, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for AMF UE NGAP ID
parent
852dd0a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/amf-app/amf_app.cpp
src/amf-app/amf_app.cpp
+1
-0
src/amf-app/amf_statistics.cpp
src/amf-app/amf_statistics.cpp
+9
-5
No files found.
src/amf-app/amf_app.cpp
View file @
06da6485
...
...
@@ -287,6 +287,7 @@ void amf_app::handle_itti_message(
"Could not find UE NGAP Context with ran_ue_ngap_id (0x%x)"
,
itti_msg
.
ran_ue_ngap_id
);
}
else
{
unc
=
amf_n2_inst
->
ran_ue_id_2_ue_ngap_context
(
itti_msg
.
ran_ue_ngap_id
);
unc
.
get
()
->
amf_ue_ngap_id
=
amf_ue_ngap_id
;
}
...
...
src/amf-app/amf_statistics.cpp
View file @
06da6485
...
...
@@ -42,20 +42,24 @@ void statistics::display() {
"information-------------------------------------------|"
);
Logger
::
amf_app
().
info
(
"| Index | Status | Global ID | gNB "
"Name |
PLMN | Supported TA list
|"
);
"Name |
PLMN
|"
);
if
(
gnbs
.
size
()
==
0
)
{
Logger
::
amf_app
().
info
(
"| - | - | - | "
"- |
- | -
|"
);
"- |
|"
);
}
int
i
=
1
;
for
(
auto
const
&
gnb
:
gnbs
)
{
Logger
::
amf_app
().
info
(
"| %d | Connected | 0x%x | %s "
" | %s, %s
| %s |
"
,
" | %s, %s
|
"
,
i
,
gnb
.
second
.
gnb_id
,
gnb
.
second
.
gnb_name
.
c_str
(),
gnb
.
second
.
mcc
.
c_str
(),
gnb
.
second
.
mnc
.
c_str
(),
gnb
.
second
.
mcc
.
c_str
(),
gnb
.
second
.
mnc
.
c_str
());
Logger
::
amf_app
().
info
(
"| Supported TA list %s "
" "
" |"
,
gnb
.
second
.
plmn_to_string
().
c_str
());
i
++
;
}
...
...
@@ -78,7 +82,7 @@ void statistics::display() {
i
=
0
;
for
(
auto
const
&
ue
:
ue_infos
)
{
Logger
::
amf_app
().
info
(
"|%7d|%22s|%18s|%15s|%16d|%11d|%3s, %
4
s|%7d|"
,
i
+
1
,
"|%7d|%22s|%18s|%15s|%16d|%11d|%3s, %
3
s|%7d|"
,
i
+
1
,
ue
.
second
.
registerStatus
.
c_str
(),
ue
.
second
.
imsi
.
c_str
(),
ue
.
second
.
guti
.
c_str
(),
ue
.
second
.
ranid
,
ue
.
second
.
amfid
,
ue
.
second
.
mcc
.
c_str
(),
ue
.
second
.
mnc
.
c_str
(),
ue
.
second
.
cellId
);
...
...
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