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
8080ecc5
Commit
8080ecc5
authored
Jul 06, 2022
by
Stefan Spettel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(smf): Fix conf to not use PCF when local PCC rules are enabled
Signed-off-by:
Stefan Spettel
<
stefan.spettel@eurecom.fr
>
parent
0e4d0dd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/smf_app/smf_config.cpp
src/smf_app/smf_config.cpp
+3
-3
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+1
-0
No files found.
src/smf_app/smf_config.cpp
View file @
8080ecc5
...
@@ -531,9 +531,9 @@ int smf_config::load(const string& config_file) {
...
@@ -531,9 +531,9 @@ int smf_config::load(const string& config_file) {
SMF_CONFIG_STRING_SUPPORT_FEATURES_USE_LOCAL_PCC_RULES
,
opt
);
SMF_CONFIG_STRING_SUPPORT_FEATURES_USE_LOCAL_PCC_RULES
,
opt
);
if
(
boost
::
iequals
(
opt
,
"yes"
))
{
if
(
boost
::
iequals
(
opt
,
"yes"
))
{
Logger
::
smf_app
().
warn
(
Logger
::
smf_app
().
warn
(
"Local PCC rules feature is not
supported, you need to configure
"
"Local PCC rules feature is not
yet supported, the default values
"
"
and use the PCF. This feature is set to false
"
);
"
from the config file are used.
"
);
use_local_pcc_rules
=
false
;
// set to false as not yet supported
use_local_pcc_rules
=
true
;
// discover_pcf = false;
// discover_pcf = false;
}
else
{
}
else
{
use_local_pcc_rules
=
false
;
use_local_pcc_rules
=
false
;
...
...
src/smf_app/smf_context.cpp
View file @
8080ecc5
...
@@ -1526,6 +1526,7 @@ void smf_context::handle_pdu_session_create_sm_context_request(
...
@@ -1526,6 +1526,7 @@ void smf_context::handle_pdu_session_create_sm_context_request(
"PCF SM Policy Association Creation was not successful. Continue "
"PCF SM Policy Association Creation was not successful. Continue "
"using default rules"
);
"using default rules"
);
use_pcf_policy
=
false
;
use_pcf_policy
=
false
;
sp
->
policy_ptr
.
reset
();
// Here, the standard says that we could reject the PDU session or allow
// Here, the standard says that we could reject the PDU session or allow
// the PDU session applying local policies 29.512 Chapter 4.2.2.2
// the PDU session applying local policies 29.512 Chapter 4.2.2.2
// TODO I propose to have this behavior configurable, for now we
// TODO I propose to have this behavior configurable, for now we
...
...
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