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
zzha zzha
OpenXG-RAN
Commits
5f1f1abe
Commit
5f1f1abe
authored
Dec 15, 2015
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added header in messages and removed length field
parent
69471896
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
22 deletions
+25
-22
openair2/ENB_APP/MESSAGES/V2/header.proto
openair2/ENB_APP/MESSAGES/V2/header.proto
+2
-3
openair2/ENB_APP/MESSAGES/V2/progran.proto
openair2/ENB_APP/MESSAGES/V2/progran.proto
+23
-19
No files found.
openair2/ENB_APP/MESSAGES/V2/header.proto
View file @
5f1f1abe
...
@@ -3,8 +3,7 @@ package protocol;
...
@@ -3,8 +3,7 @@ package protocol;
message
prp_header
{
message
prp_header
{
optional
uint32
version
=
1
;
optional
uint32
version
=
1
;
optional
uint32
type
=
2
;
optional
uint32
type
=
2
;
optional
uint32
length
=
3
;
optional
uint32
xid
=
3
;
optional
uint32
xid
=
4
;
}
}
enum
prp_type
{
enum
prp_type
{
...
@@ -16,4 +15,4 @@ enum prp_type {
...
@@ -16,4 +15,4 @@ enum prp_type {
// Statistics and measurement messages
// Statistics and measurement messages
PRPT_STATS_REQUEST
=
3
;
PRPT_STATS_REQUEST
=
3
;
PRPT_STATS_REPLY
=
4
;
PRPT_STATS_REPLY
=
4
;
}
}
\ No newline at end of file
openair2/ENB_APP/MESSAGES/V2/progran.proto
View file @
5f1f1abe
package
protocol
;
package
protocol
;
import
"stats_messages.proto"
;
import
"stats_messages.proto"
;
import
"header.proto"
message
progran_message
{
oneof
msg
{
prp_hello
hello_msg
=
1
;
prp_echo_request
echo_request_msg
=
2
;
prp_echo_reply
echo_reply_msg
=
3
;
prp_stats_request
stats_request_msg
=
4
;
prp_stats_reply
stats_reply_msg
=
5
;
}
}
//
//
// Maintenance and discovery messages
// Maintenance and discovery messages
//
//
// Empty message. Does not really have to be used.
// Could use only the header with the type set to PRPT_HELLO
message
prp_hello
{
message
prp_hello
{
optional
prp_header
header
=
1
;
}
}
message
prp_echo_request
{
message
prp_echo_request
{
optional
prp_header
header
=
1
;
extensions
100
to
199
;
extensions
100
to
199
;
}
}
message
prp_echo_reply
{
message
prp_echo_reply
{
optional
prp_header
header
=
1
;
extensions
100
to
199
;
extensions
100
to
199
;
}
}
...
@@ -27,17 +40,19 @@ message prp_echo_reply {
...
@@ -27,17 +40,19 @@ message prp_echo_reply {
//
//
message
prp_stats_request
{
message
prp_stats_request
{
optional
prp_stats_type
type
=
1
;
optional
prp_header
header
=
1
;
optional
prp_stats_type
type
=
2
;
oneof
body
{
oneof
body
{
prp_complete_stats_request
complete_stats_request
=
2
;
prp_complete_stats_request
complete_stats_request
=
3
;
prp_cell_stats_request
cell_stats_request
=
3
;
prp_cell_stats_request
cell_stats_request
=
4
;
prp_ue_stats_request
ue_stats_request
=
4
;
prp_ue_stats_request
ue_stats_request
=
5
;
}
}
}
}
message
prp_stats_reply
{
message
prp_stats_reply
{
optional
prp_ue_stats_report
ue_report
=
1
;
optional
prp_header
header
=
1
;
optional
prp_cell_stats_report
cell_report
=
2
;
optional
prp_ue_stats_report
ue_report
=
2
;
optional
prp_cell_stats_report
cell_report
=
3
;
}
}
...
@@ -56,14 +71,3 @@ message prp_echo_reply_latency {
...
@@ -56,14 +71,3 @@ message prp_echo_reply_latency {
}
}
//message progran_body {
// oneof msg {
// prp_hello hello_msg = 1;
// prp_echo_request echo_request_msg = 2;
// prp_echo_reply echo_reply_msg = 3;
// prp_stats_request stats_request_msg = 4;
// prp_stats_reply stats_reply_msg = 5;
// }
//}
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