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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
wangwenhui
OpenXG-RAN
Commits
9de83a04
Commit
9de83a04
authored
Jul 28, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN: Add control_delegation_request protobuf message
parent
c500babe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
openair2/ENB_APP/MESSAGES/V2/flexran.proto
openair2/ENB_APP/MESSAGES/V2/flexran.proto
+8
-0
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+2
-2
No files found.
openair2/ENB_APP/MESSAGES/V2/flexran.proto
View file @
9de83a04
...
...
@@ -7,6 +7,7 @@ import "time_common.proto";
import
"config_messages.proto"
;
import
"controller_commands.proto"
;
import
"config_common.proto"
;
import
"control_delegation.proto"
;
message
flexran_message
{
optional
flexran_direction
msg_dir
=
100
;
...
...
@@ -32,6 +33,7 @@ message flexran_message {
flex_ul_mac_config
ul_mac_config_msg
=
19
;
flex_disconnect
disconnect_msg
=
20
;
flex_ho_command
ho_command_msg
=
21
;
flex_control_delegation_request
control_del_req_msg
=
22
;
}
}
...
...
@@ -230,6 +232,12 @@ message flex_control_delegation {
optional
string
name
=
4
;
// The delegated functions names ordered based on bitmap flags
}
message
flex_control_delegation_request
{
optional
flex_header
header
=
1
;
optional
flex_control_delegation_type
delegation_type
=
2
;
optional
string
name
=
4
;
}
//
// Agent reconfiguration message
//
...
...
openair2/ENB_APP/flexran_agent_common.c
View file @
9de83a04
...
...
@@ -464,12 +464,12 @@ int flexran_agent_control_delegation(mid_t mod_id, const void *params, Protocol_
LOG_I
(
FLEXRAN_AGENT
,
"wrote shared object %s
\n
"
,
target
);
}
else
{
if
(
errno
==
EEXIST
)
{
LOG_
I
(
FLEXRAN_AGENT
,
"file %s already exists, remove it first
\n
"
,
target
);
LOG_
W
(
FLEXRAN_AGENT
,
"file %s already exists, remove it first
\n
"
,
target
);
}
else
{
LOG_E
(
FLEXRAN_AGENT
,
"can not write control delegation data to %s: %s
\n
"
,
target
,
strerror
(
errno
));
return
0
;
}
return
0
;
}
}
else
{
LOG_W
(
FLEXRAN_AGENT
,
"remove file %s
\n
"
,
target
);
...
...
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