Adding RESET connection status for E2 Reset
[ric-plt/nodeb-rnib.git] / entities / gnb.proto
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  * Copyright 2019 Nokia
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
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 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24 syntax = "proto3";
25 package entities;
26 import "ran_function.proto";
27 import "e2node_component_config.proto";
28 import "additional_cell_information.proto";
29 import "nb_types.proto";
30 option go_package = "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib/entities";
31
32 message Gnb{
33         repeated ServedNRCell served_nr_cells = 1;
34         repeated RanFunction ran_functions = 2;
35         GnbType gnb_type = 3;
36         repeated E2nodeComponentConfig node_configs = 4;
37 }
38
39 message ServedNRCell{
40         ServedNRCellInformation served_nr_cell_information = 1;
41         repeated NrNeighbourInformation nr_neighbour_infos = 2;
42 }
43
44 message ServedNRCellInformation{
45         uint32 nr_pci = 1;
46         string cell_id = 2;
47         string stac5g = 3;
48         string configured_stac = 4;
49         repeated string served_plmns= 5;
50         Nr.Mode nr_mode = 6;
51         message ChoiceNRMode{
52                 message FddInfo{
53                         NrFrequencyInfo ul_freq_info = 1;
54                         NrFrequencyInfo dl_freq_info = 2;
55                         NrTransmissionBandwidth ul_transmission_bandwidth = 3;
56                         NrTransmissionBandwidth dl_transmission_bandwidth = 4;
57                 }
58                 message TddInfo{
59                         NrFrequencyInfo nr_freq_info = 1;
60                         NrTransmissionBandwidth transmission_bandwidth = 2;
61                 }
62                 FddInfo fdd  = 1;
63                 TddInfo tdd  = 2;
64         }
65         ChoiceNRMode choice_nr_mode = 7;
66         AdditionalCellInformation additional_cell_information = 8;
67 }
68
69 message Nr{
70         enum Mode{
71                 UNKNOWN = 0;
72                 FDD = 1;
73                 TDD = 2;
74         }
75 }
76
77 message NrFrequencyInfo{
78         uint64 nr_ar_fcn = 1;
79         message SulInformation{
80             uint64 sul_ar_fcn = 1;
81                 NrTransmissionBandwidth sul_transmission_bandwidth = 2;
82         }
83         SulInformation sulInformation = 3;
84         repeated FrequencyBandItem frequency_bands = 4;
85 }
86
87 message FrequencyBandItem{
88         uint32 nr_frequency_band = 1;
89         repeated uint32 supported_sul_bands = 2;
90 }
91
92 message NrTransmissionBandwidth{
93         Nrscs nrscs = 1;
94         Ncnrb ncnrb= 2;
95 }
96
97 enum Nrscs {
98         UNKNOWN_NRSCS = 0;
99         SCS15 = 1;
100         SCS30 = 2;
101         SCS60 = 3;
102         SCS120 = 4;
103 }
104
105 enum Ncnrb{
106         UNKNOWN_NCNRB = 0;
107     NRB11 =1;
108         NRB18 =2;
109         NRB24 =3;
110         NRB25 =4;
111         NRB31 =5;
112         NRB32 =6;
113         NRB38 =7;
114         NRB51 =8;
115         NRB52 =9;
116         NRB65 =10;
117         NRB66 =11;
118         NRB78 =12;
119         NRB79 =13;
120         NRB93 =14;
121         NRB106 =15;
122         NRB107 =16;
123         NRB121 =17;
124         NRB132 =18;
125         NRB133 =19;
126         NRB135 =20;
127         NRB160 =21;
128         NRB162 =22;
129         NRB189 =23;
130         NRB216 =24;
131         NRB217 =25;
132         NRB245 =26;
133         NRB264 =27;
134         NRB270 =28;
135         NRB273 =29;
136 }
137
138 message NrNeighbourInformation{
139         uint32 nr_pci = 1;
140         string nr_cgi = 2;
141         Nr.Mode nr_mode = 3;
142         message ChoiceNRMode{
143                 message FddInfo{
144                         NrFrequencyInfo ular_fcn_freq_info = 1;
145                         NrFrequencyInfo dlar_fcn_freq_info = 2;
146                 }
147                 message TddInfo{
148                         NrFrequencyInfo ar_fcn_nr_freq_info = 1;
149                 }
150                 FddInfo fdd  = 1;
151                 TddInfo tdd  = 2;
152         }
153         ChoiceNRMode choice_nr_mode = 4;
154         string stac5g = 5;
155         string configured_stac = 6;
156 }