Update v3.0.0 release notes
[ric-plt/streaming-protobufs.git] / proto / secondary_rat_data_usage_report.proto
1 /*
2    Copyright (c) 2019 AT&T Intellectual Property.
3    Copyright (c) 2019 Nokia.
4
5    Licensed under the Creative Commons Attribution 4.0 International
6    Public License (the "License"); you may not use this file except
7    in compliance with the License. You may obtain a copy of the License at
8
9        https://creativecommons.org/licenses/by/4.0/
10
11    Unless required by applicable law or agreed to in writing, documentation
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 */
17
18 syntax = "proto3";
19
20 package streaming_protobufs;
21
22 option go_package = "gerrit.o-ran-sc.org/r/ric-plt/streaming-protobufs";
23
24 import "google/protobuf/wrappers.proto";
25
26 /*
27    Protocol Buffer definition for SECONDARY RAT DATA USAGE REPORT message.
28    (3GPP 36.423, ver 15.4.0)
29
30    Naming convention follows the ASN.1 field naming defined in chapter
31    '9.3 Message and Information Element Abstract Syntax (with ASN.1)' of below document:
32    http://www.3gpp.org/ftp//Specs/archive/36_series/36.423/36423-f40.zip
33
34    Dashes converted to underscores to make protobuf message syntax correct.
35 */
36
37 message SecondaryRATDataUsageReport
38 {
39     SecondaryRATDataUsageReport_IEs protocolIEs = 1;
40 }
41
42 message SecondaryRATDataUsageReport_IEs
43 {
44     uint32 id_MeNB_UE_X2AP_ID = 1;
45     uint32 id_SgNB_UE_X2AP_ID = 2;
46     SecondaryRATUsageReportList id_SecondaryRATUsageReportList = 3;
47     google.protobuf.UInt32Value id_MeNB_UE_X2AP_ID_Extension = 4;
48 }
49
50 message SecondaryRATUsageReportList
51 {
52     repeated SecondaryRATUsageReport_ItemIEs items = 1;
53 }
54
55 message SecondaryRATUsageReport_ItemIEs
56 {
57     SecondaryRATUsageReport_Item id_SecondaryRATUsageReport_Item = 1;
58 }
59
60 message SecondaryRATUsageReport_Item
61 {
62     enum SecondaryRATType {
63         protobuf_unspecified = 0;
64         nr = 1;
65     }
66     uint32 e_RAB_ID = 1;
67     SecondaryRATType secondaryRATType = 2;
68     E_RABUsageReportList e_RABUsageReportList = 3;
69 }
70
71 message E_RABUsageReportList
72 {
73     repeated E_RABUsageReport_ItemIEs items = 1;
74 }
75
76 message E_RABUsageReport_ItemIEs
77 {
78     E_RABUsageReport_Item id_E_RABUsageReport_Item = 1;
79 }
80
81 message E_RABUsageReport_Item
82 {
83     uint64 startTimeStamp = 1;
84     uint64 endTimeStamp = 2;
85     uint64 usageCountUL = 3;
86     uint64 usageCountDL = 4;
87 }