progran.proto 1.38 KB
Newer Older
1
2
3
package protocol;

import "stats_messages.proto";
4
import "header.proto";
5
6
7
8
9
10
11
12
13
14
15

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;
	}
}

16
17
18
19
20
21

//
// Maintenance and discovery messages
//

message prp_hello {
22
	optional prp_header header = 1;
23
24
25
}

message prp_echo_request {
26
	optional prp_header header = 1;
27
28
29
30
31
	extensions 100 to 199;
}


message prp_echo_reply {
32
	optional prp_header header = 1;
33
34
35
36
37
38
39
40
41
42
	extensions 100 to 199;
}



//
// Statistics request and reply message
//

message prp_stats_request {
43
44
	optional prp_header header = 1;
	optional prp_stats_type type = 2;
45
	oneof body {
46
47
48
	      prp_complete_stats_request complete_stats_request = 3;
	      prp_cell_stats_request cell_stats_request = 4;
	      prp_ue_stats_request ue_stats_request = 5;
49
50
51
52
	}
}

message prp_stats_reply {
53
	optional prp_header header = 1;
54
55
	repeated prp_ue_stats_report ue_report = 2;
	repeated prp_cell_stats_report cell_report = 3;
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
}


// Extensions of the echo request and reply
// messages for carrying a latency value in ms
message prp_echo_request_latency {
	extend prp_echo_request {
	       optional uint32 latency = 100;
	}
}

message prp_echo_reply_latency {
	extend prp_echo_reply {
	       optional uint32 latency = 100;
	}
}