Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
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-RAN
Commits
fde31278
Commit
fde31278
authored
Aug 21, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN Agent reconfiguration: call flexran_agent_handle_apps()
parent
8772856f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+17
-1
No files found.
openair2/ENB_APP/flexran_agent_common.c
View file @
fde31278
...
...
@@ -507,7 +507,23 @@ int flexran_agent_map_name_to_delegated_object(mid_t mod_id, const char *name,
int
flexran_agent_reconfiguration
(
mid_t
mod_id
,
const
void
*
params
,
Protocol__FlexranMessage
**
msg
)
{
Protocol__FlexranMessage
*
input
=
(
Protocol__FlexranMessage
*
)
params
;
Protocol__FlexAgentReconfiguration
*
agent_reconfiguration_msg
=
input
->
agent_reconfiguration_msg
;
apply_reconfiguration_policy
(
mod_id
,
agent_reconfiguration_msg
->
policy
,
strlen
(
agent_reconfiguration_msg
->
policy
));
if
(
agent_reconfiguration_msg
->
policy
)
{
/* for compatibility: call old YAML configuration code, although we don't
* use it anymore */
apply_reconfiguration_policy
(
mod_id
,
agent_reconfiguration_msg
->
policy
,
strlen
(
agent_reconfiguration_msg
->
policy
));
}
for
(
int
i
=
0
;
i
<
agent_reconfiguration_msg
->
n_systems
;
++
i
)
{
const
Protocol__FlexAgentReconfigurationSystem
*
sys
=
agent_reconfiguration_msg
->
systems
[
i
];
if
(
strcmp
(
sys
->
system
,
"app"
)
==
0
)
{
flexran_agent_handle_apps
(
mod_id
,
sys
->
subsystems
,
sys
->
n_subsystems
);
}
else
{
LOG_E
(
FLEXRAN_AGENT
,
"unknown system name %s in flex_agent_reconfiguration message
\n
"
,
sys
->
system
);
}
}
*
msg
=
NULL
;
return
0
;
}
...
...
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