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
9c55fcca
Commit
9c55fcca
authored
Oct 25, 2022
by
Stefan Spettel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(smf): UPF graph UL CL scenario selection
Signed-off-by:
Stefan Spettel
<
stefan.spettel@eurecom.fr
>
parent
4e926056
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/smf_app/smf_pfcp_association.cpp
src/smf_app/smf_pfcp_association.cpp
+2
-1
src/smf_app/smf_pfcp_association.hpp
src/smf_app/smf_pfcp_association.hpp
+3
-3
No files found.
src/smf_app/smf_pfcp_association.cpp
View file @
9c55fcca
...
...
@@ -1306,8 +1306,9 @@ std::shared_ptr<upf_graph> upf_graph::select_upf_nodes(
dnais
,
flow_description
,
precedence
,
snssai
,
dnn
);
create_subgraph_dfs
(
sub_graph_ptr
,
node
.
first
,
visited
);
// Verify the merged graph with all DNAIs so far
sub_graph_ptr
->
set_dfs_selection_criteria
(
dnais
,
flow_description
,
precedence
,
snssai
,
dnn
);
dnais
_from_all_rules
,
flow_description
,
precedence
,
snssai
,
dnn
);
if
(
!
sub_graph_ptr
->
verify
())
{
// in case copy is null, new subgraph_ptr is also null, and we
...
...
src/smf_app/smf_pfcp_association.hpp
View file @
9c55fcca
...
...
@@ -288,9 +288,9 @@ struct edge {
const
std
::
string
&
dnai
)
const
;
bool
operator
==
(
const
edge
&
other
)
const
{
return
dnai
==
other
.
dnai
&&
flow_description
==
other
.
flow_description
&&
nw_instance
==
other
.
nw_instance
&&
type
==
other
.
type
&&
uplink
==
other
.
uplink
&&
association
==
other
.
association
;
return
dnai
==
other
.
dnai
&&
nw_instance
==
other
.
nw_instance
&&
type
==
other
.
type
&&
uplink
==
other
.
uplink
&&
association
==
other
.
association
;
}
[[
nodiscard
]]
std
::
string
to_string
()
const
{
...
...
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