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
89235dea
Commit
89235dea
authored
Nov 28, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
8374ce73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/common/smf.h
src/common/smf.h
+6
-6
No files found.
src/common/smf.h
View file @
89235dea
...
@@ -355,7 +355,7 @@ typedef struct nf_service_s {
...
@@ -355,7 +355,7 @@ typedef struct nf_service_s {
s
.
append
(
service_instance_id
);
s
.
append
(
service_instance_id
);
s
.
append
(
", Service name: "
);
s
.
append
(
", Service name: "
);
s
.
append
(
service_name
);
s
.
append
(
service_name
);
for
(
auto
v
:
versions
)
{
for
(
const
auto
&
v
:
versions
)
{
s
.
append
(
v
.
to_string
());
s
.
append
(
v
.
to_string
());
}
}
s
.
append
(
", Scheme: "
);
s
.
append
(
", Scheme: "
);
...
@@ -393,13 +393,13 @@ typedef struct dnn_upf_info_item_s {
...
@@ -393,13 +393,13 @@ typedef struct dnn_upf_info_item_s {
std
::
string
to_string
()
const
{
std
::
string
to_string
()
const
{
std
::
string
s
=
{};
std
::
string
s
=
{};
s
.
append
(
"DNN = "
+
dnn
+
", "
);
s
.
append
(
"DNN = "
).
append
(
dnn
).
append
(
", "
);
if
(
dnai_list
.
size
()
>
0
)
{
if
(
dnai_list
.
size
()
>
0
)
{
s
.
append
(
"DNAI list: {"
);
s
.
append
(
"DNAI list: {"
);
for
(
auto
dnai
:
dnai_list
)
{
for
(
const
auto
&
dnai
:
dnai_list
)
{
s
.
append
(
"DNAI = "
+
dnai
+
", "
);
s
.
append
(
"DNAI = "
).
append
(
dnai
).
append
(
", "
);
}
}
s
.
append
(
"}, "
);
s
.
append
(
"}, "
);
}
}
...
@@ -407,8 +407,8 @@ typedef struct dnn_upf_info_item_s {
...
@@ -407,8 +407,8 @@ typedef struct dnn_upf_info_item_s {
if
(
dnai_nw_instance_list
.
size
()
>
0
)
{
if
(
dnai_nw_instance_list
.
size
()
>
0
)
{
s
.
append
(
"DNAI NW Instance list: {"
);
s
.
append
(
"DNAI NW Instance list: {"
);
for
(
auto
dnai_nw
:
dnai_nw_instance_list
)
{
for
(
const
auto
&
dnai_nw
:
dnai_nw_instance_list
)
{
s
.
append
(
"("
+
dnai_nw
.
first
+
", "
+
dnai_nw
.
second
+
"),"
);
s
.
append
(
"("
).
append
(
dnai_nw
.
first
).
append
(
", "
).
append
(
dnai_nw
.
second
).
append
(
"),"
);
}
}
s
.
append
(
"}, "
);
s
.
append
(
"}, "
);
}
}
...
...
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