Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
c4eded29
Commit
c4eded29
authored
Sep 28, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display UE context Info
parent
def65b9a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+1
-1
src/smf_app/smf_config.cpp
src/smf_app/smf_config.cpp
+0
-2
src/smf_app/smf_procedure.cpp
src/smf_app/smf_procedure.cpp
+4
-0
No files found.
src/smf_app/smf_app.cpp
View file @
c4eded29
...
...
@@ -892,7 +892,7 @@ void smf_app::handle_pdu_session_create_sm_context_request(
// If no DNN information from UE, set to default value
std
::
string
dnn
=
smreq
->
req
.
get_dnn
();
if
(
dnn
.
length
()
==
0
)
{
dnn
=
=
smf_cfg
.
get_default_dnn
();
dnn
=
smf_cfg
.
get_default_dnn
();
}
// TODO: For the moment, not support PDU session authentication and
...
...
src/smf_app/smf_config.cpp
View file @
c4eded29
...
...
@@ -1233,8 +1233,6 @@ std::string smf_config::get_default_dnn() {
//------------------------------------------------------------------------------
bool
smf_config
::
get_nwi_list_index
(
bool
nwi_enabled
,
uint8_t
nwi_list_index
,
pfcp
::
node_id_t
node_id
)
{
Logger
::
smf_app
().
debug
(
"Default DNN: %s"
,
smf_cfg
.
dnn
[
0
].
dnn
.
c_str
());
// return smf_cfg.dnn[0].dnn;
if
(
node_id
.
node_id_type
==
pfcp
::
NODE_ID_TYPE_IPV4_ADDRESS
)
{
for
(
int
i
=
0
;
i
<
upf_nwi_list
.
size
();
i
++
)
{
if
(
node_id
.
u1
.
ipv4_address
.
s_addr
==
...
...
src/smf_app/smf_procedure.cpp
View file @
c4eded29
...
...
@@ -1194,6 +1194,10 @@ void session_update_sm_context_procedure::handle_itti_msg(
// set UpCnxState to ACTIVATED
sps
->
set_upCnx_state
(
upCnx_state_e
::
UPCNX_STATE_ACTIVATED
);
// Display UE Context Info
Logger
::
smf_app
().
info
(
"SMF context:
\n
%s"
,
sc
.
get
()
->
toString
().
c_str
());
// Trigger Event_exposure event
std
::
string
str_scid
=
n11_trigger
.
get
()
->
scid
;
// TODO: validate the str_scid
...
...
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