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
7b10d6a8
Commit
7b10d6a8
authored
Feb 10, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add debuging log
parent
e0dd70cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/amf-app/amf_n1.cpp
src/amf-app/amf_n1.cpp
+7
-3
No files found.
src/amf-app/amf_n1.cpp
View file @
7b10d6a8
...
...
@@ -3843,6 +3843,9 @@ bool amf_n1::check_subscribed_nssai(
result
=
true
;
// Find the common NSSAIs between Requested NSSAIs and Subscribed NSSAIs
Logger
::
amf_n1
().
debug
(
"Find the common NSSAIs between Requested NSSAIs and Subscribed "
"NSSAIs"
);
std
::
vector
<
oai
::
amf
::
model
::
Snssai
>
common_snssais
;
for
(
auto
s
:
nc
->
requestedNssai
)
{
std
::
string
sd
=
std
::
to_string
(
s
.
sd
);
...
...
@@ -3853,7 +3856,7 @@ bool amf_n1::check_subscribed_nssai(
(
!
n
.
sdIsSet
()
and
sd
.
empty
()))
{
common_snssais
.
push_back
(
n
);
Logger
::
amf_n1
().
debug
(
"
Found
S-NSSAI (SST %d, SD %s)"
,
s
.
sst
,
sd
.
c_str
());
"
Common
S-NSSAI (SST %d, SD %s)"
,
s
.
sst
,
sd
.
c_str
());
break
;
}
}
...
...
@@ -3866,7 +3869,7 @@ bool amf_n1::check_subscribed_nssai(
(
!
n
.
sdIsSet
()
and
sd
.
empty
()))
{
common_snssais
.
push_back
(
n
);
Logger
::
amf_n1
().
debug
(
"
Found
S-NSSAI (SST %d, SD %s)"
,
s
.
sst
,
sd
.
c_str
());
"
Common
S-NSSAI (SST %d, SD %s)"
,
s
.
sst
,
sd
.
c_str
());
break
;
}
}
...
...
@@ -4056,7 +4059,8 @@ bool amf_n1::get_slice_selection_subscription_data_from_conf_file(
// Print out the list of subscribed NSSAIs
for
(
auto
n
:
nssai
.
getDefaultSingleNssais
())
{
Logger
::
amf_n1
().
debug
(
"Default Single NSSAIs: S-NSSAI (SST %d, SD %s)"
,
n
.
getSst
(),
n
.
getSd
().
c_str
());
"Default Single NSSAIs: S-NSSAI (SST %d, SD %s)"
,
n
.
getSst
(),
n
.
getSd
().
c_str
());
}
return
true
;
...
...
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