977f2e6c352a10d6c8153de969e596a5e6254132
[ric-app/mc.git] / mc-core / mc / cfg / packet_schema.txt
1
2 PROTOCOL base{
3         uint systemTime get_system_time (low_cardinality,required,increasing, snap_len 0);
4         uint schemaId get_schemaId (low_cardinality,required, snap_len 0);
5 }
6
7 // indicates release of dual connectivity for the UE
8 // Defined in context_release.json on ue_context_release.proto
9 // schemaId = 201, interface CONRELEASE
10 PROTOCOL dc_release (base, schema_id 201){
11 // timestamp in milliseconds
12         ullong timestamp_ms get_dc_release__timestamp_ms (required,increasing);
13 // gNB ID
14         string gnb_id get_dc_release__gnb_id (required);
15 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
16         uint id_Old_eNB_UE_X2AP_ID_Extension get_dc_release__id_Old_eNB_UE_X2AP_ID_Extension (required);
17 // future UE_ID assigned by eNB for the UE over the X2. is mandatory  default=0
18         llong id_New_eNB_UE_X2AP_ID get_dc_release__id_New_eNB_UE_X2AP_ID (required);
19 // UE_ID assigned by gNB for the UE over an X2.  Match against reconfig_success.id_SgNB_UE_X2AP_ID.  is optional  default=0
20         uint id_SgNB_UE_X2AP_ID get_dc_release__id_SgNB_UE_X2AP_ID (required);
21 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
22         uint id_New_eNB_UE_X2AP_ID_Extension get_dc_release__id_New_eNB_UE_X2AP_ID_Extension (required);
23 // deprecated UE_ID assigned by eNB for the UE over the X2.  Match against reconfig_success.id_MeNB_UE_X2AP_ID. is mandatory  default=0
24         llong id_Old_eNB_UE_X2AP_ID get_dc_release__id_Old_eNB_UE_X2AP_ID (required);
25 }
26
27 // transfer per UE and bearere between given time intervals
28 // Defined in rat_data_usage.json on secondary_rat_data_usage_report.proto
29 // schemaId = 1501, interface RATDATAUSAGE
30 PROTOCOL rat_data_usage (base, schema_id 1501){
31 // timestamp in milliseconds
32         ullong timestamp_ms get_rat_data_usage__timestamp_ms (required,increasing);
33 // gNB ID
34         string gnb_id get_rat_data_usage__gnb_id (required);
35 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory
36         llong id_MeNB_UE_X2AP_ID get_rat_data_usage__id_MeNB_UE_X2AP_ID (required);
37 // UE_ID assigned by gNB for the UE over an X2. Is mandatory
38         llong id_SgNB_UE_X2AP_ID get_rat_data_usage__id_SgNB_UE_X2AP_ID (required);
39 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
40         uint id_MeNB_UE_X2AP_ID_Extension get_rat_data_usage__id_MeNB_UE_X2AP_ID_Extension (required);
41 // Bearer ID
42         llong e_RAB_ID get_rat_data_usage__e_RAB_ID (required);
43 //  
44         llong secondaryRATType get_rat_data_usage__secondaryRATType (required);
45         llong startTimeStamp get_rat_data_usage__startTimeStamp (required);
46         llong endTimeStamp get_rat_data_usage__endTimeStamp (required);
47         llong usageCountDL get_rat_data_usage__usageCountDL (required);
48 }
49
50 // indicates successful configuration of Dual Connectivity
51 // Defined in recon_complete.json on sgnb_reconfiguration_complete.proto
52 // schemaId = 103, interface RECONCOMPLETE
53 PROTOCOL reconfig_all (base, schema_id 103){
54 // timestamp in milliseconds
55         ullong timestamp_ms get_reconfig_all__timestamp_ms (required,increasing);
56 // gNB ID
57         string gnb_id get_reconfig_all__gnb_id (required);
58 // UE_ID assigned by eNB for the UE over an X2. Is mandatory  default=0
59         llong id_MeNB_UE_X2AP_ID get_reconfig_all__id_MeNB_UE_X2AP_ID (required);
60 // UE_ID assigned by gNB for the UE over the X2.  Is optional  default=0
61         llong id_SgNB_UE_X2AP_ID get_reconfig_all__id_SgNB_UE_X2AP_ID (required);
62 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
63         uint id_MeNB_UE_X2AP_ID_Extension get_reconfig_all__id_MeNB_UE_X2AP_ID_Extension (required);
64 }
65
66 // indicates unsuccessful configuration of Dual Connectivity`
67 // Defined in recon_complete.json on sgnb_reconfiguration_complete.proto
68 // schemaId = 101, interface RECONCOMPLETE
69 PROTOCOL reconfig_success (base, schema_id 101){
70 // timestamp in milliseconds
71         ullong timestamp_ms get_reconfig_success__timestamp_ms (required,increasing);
72 // gNB ID
73         string gnb_id get_reconfig_success__gnb_id (required);
74 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory  default=0
75         llong id_MeNB_UE_X2AP_ID get_reconfig_success__id_MeNB_UE_X2AP_ID (required);
76 // UE_ID assigned by gNB for the UE over an X2. Is optional  default=0
77         llong id_SgNB_UE_X2AP_ID get_reconfig_success__id_SgNB_UE_X2AP_ID (required);
78 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
79         uint id_MeNB_UE_X2AP_ID_Extension get_reconfig_success__id_MeNB_UE_X2AP_ID_Extension (required);
80 }
81
82 // indicates unsuccessful configuration of Dual Connectivity`
83 // Defined in recon_complete.json on sgnb_reconfiguration_complete.proto
84 // schemaId = 102, interface RECONCOMPLETE
85 PROTOCOL reconfig_reject (base, schema_id 102){
86 // timestamp in milliseconds
87         ullong timestamp_ms get_reconfig_reject__timestamp_ms (required,increasing);
88 // gNB ID
89         string gnb_id get_reconfig_reject__gnb_id (required);
90 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory  default=0
91         llong id_MeNB_UE_X2AP_ID get_reconfig_reject__id_MeNB_UE_X2AP_ID (required);
92 // UE_ID assigned by gNB for the UE over an X2. Is optional  default=0
93         llong id_SgNB_UE_X2AP_ID get_reconfig_reject__id_SgNB_UE_X2AP_ID (required);
94 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
95         uint id_MeNB_UE_X2AP_ID_Extension get_reconfig_reject__id_MeNB_UE_X2AP_ID_Extension (required);
96 //   default=-1
97         llong cause_radio_network get_reconfig_reject__cause_radio_network (required);
98 //   default=-1
99         llong cause_transport get_reconfig_reject__cause_transport (required);
100 //   default=-1
101         llong cause_protocol get_reconfig_reject__cause_protocol (required);
102 //   default=-1
103         llong cause_misc get_reconfig_reject__cause_misc (required);
104 }
105
106 // Confirmation of release of SgNB and SCG resources by the MeNB, list the eRABs if any (default is ALL in which case no eRABs are listed).
107 // Defined in release_confirm.json on sgnb_release_confirm.proto
108 // schemaId = 1101, interface RELCONF
109 PROTOCOL sgnb_release_confirm_from_menb_erabs (base, schema_id 1101){
110 // timestamp in milliseconds
111         ullong timestamp_ms get_sgnb_release_confirm_from_menb_erabs__timestamp_ms (required,increasing);
112 // gNB ID
113         string gnb_id get_sgnb_release_confirm_from_menb_erabs__gnb_id (required);
114 // UE_ID assigned by eNB for the UE over an X2. Is mandatory  default=0
115         llong id_MeNB_UE_X2AP_ID get_sgnb_release_confirm_from_menb_erabs__id_MeNB_UE_X2AP_ID (required);
116 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory  default=0
117         llong id_SgNB_UE_X2AP_ID get_sgnb_release_confirm_from_menb_erabs__id_SgNB_UE_X2AP_ID (required);
118 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
119         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_release_confirm_from_menb_erabs__id_MeNB_UE_X2AP_ID_Extension (required);
120 // indicates whether NR lower layers (nr-rlc, nr-MAC, and mmwave-Phy) are being used to transport the traffic.  default=-1
121         llong sCGresources get_sgnb_release_confirm_from_menb_erabs__sCGresources (required);
122 // bearer eRAB id.  default=0
123         llong e_RAB_ID get_sgnb_release_confirm_from_menb_erabs__e_RAB_ID (required);
124 // Indicates whether NR pdcp is available at the SgNB for the PDUs pertaining to the bearer.  default=-1
125         llong pDCPatSgNB get_sgnb_release_confirm_from_menb_erabs__pDCPatSgNB (required);
126 // indicates whether LTE lower layers (rlc, MAC, and Phy) are being used to transport the traffic.  default=-1
127         llong mCGresources get_sgnb_release_confirm_from_menb_erabs__mCGresources (required);
128 // Tunnel is a virtual connection over the physical X2 connection meant to handle a bearer-specific GTP (GPRS Tunneling Protocol) traffic flow in terms of PDCP PDUs.  This virtual connection has an ID given by this field.
129         string gTP_TEID get_sgnb_release_confirm_from_menb_erabs__gTP_TEID (required);
130 // logical IP address for this virtual connection over X2, likely an ipv6 in binary.
131         string transportLayerAddress get_sgnb_release_confirm_from_menb_erabs__transportLayerAddress (required);
132 }
133
134 // Confirmation of release of SgNB and SCG resources by the MeNB.
135 // Defined in release_confirm.json on sgnb_release_confirm.proto
136 // schemaId = 1102, interface RELCONF
137 PROTOCOL sgnb_release_confirm_from_menb (base, schema_id 1102){
138 // timestamp in milliseconds
139         ullong timestamp_ms get_sgnb_release_confirm_from_menb__timestamp_ms (required,increasing);
140 // gNB ID
141         string gnb_id get_sgnb_release_confirm_from_menb__gnb_id (required);
142 // UE_ID assigned by eNB for the UE over an X2. Is mandatory  default=0
143         llong id_MeNB_UE_X2AP_ID get_sgnb_release_confirm_from_menb__id_MeNB_UE_X2AP_ID (required);
144 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory  default=0
145         llong id_SgNB_UE_X2AP_ID get_sgnb_release_confirm_from_menb__id_SgNB_UE_X2AP_ID (required);
146 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
147         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_release_confirm_from_menb__id_MeNB_UE_X2AP_ID_Extension (required);
148 }
149
150 // initiated by the MeNB to request SgNB to release its SCG resources for the UE
151 // Defined in release_req.json on sgnb_release_request.proto
152 // schemaId = 801, interface RELREQ
153 PROTOCOL release_req (base, schema_id 801){
154 // timestamp in milliseconds
155         ullong timestamp_ms get_release_req__timestamp_ms (required,increasing);
156 // gNB ID
157         string gnb_id get_release_req__gnb_id (required);
158 //   default=-1
159         llong cause_protocol get_release_req__cause_protocol (required);
160 // UE_ID assigned by eNB for the UE over an X2. Is mandatory  default=0
161         llong id_MeNB_UE_X2AP_ID get_release_req__id_MeNB_UE_X2AP_ID (required);
162 //   default=-1
163         llong cause_transport get_release_req__cause_transport (required);
164 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
165         uint id_MeNB_UE_X2AP_ID_Extension get_release_req__id_MeNB_UE_X2AP_ID_Extension (required);
166 //   default=-1
167         llong cause_radio_network get_release_req__cause_radio_network (required);
168 // UE_ID assigned by gNB for the UE over the X2.  Is optional  default=0
169         uint id_SgNB_UE_X2AP_ID get_release_req__id_SgNB_UE_X2AP_ID (required);
170 //   default=-1
171         llong cause_misc get_release_req__cause_misc (required);
172 }
173
174 // response by the SgNB back to the MeNB acknowledging release of SCG resources for the UE.
175 // Defined in release_req_ack.json on sgnb_release_request_acknowledge.proto
176 // schemaId = 901, interface RELREQACK
177 PROTOCOL release_req_ack (base, schema_id 901){
178 // timestamp in milliseconds
179         ullong timestamp_ms get_release_req_ack__timestamp_ms (required,increasing);
180 // gNB ID
181         string gnb_id get_release_req_ack__gnb_id (required);
182 // UE_ID assigned by eNB for the UE over an X2. Is mandatory  default=0
183         llong id_MeNB_UE_X2AP_ID get_release_req_ack__id_MeNB_UE_X2AP_ID (required);
184 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory  default=0
185         llong id_SgNB_UE_X2AP_ID get_release_req_ack__id_SgNB_UE_X2AP_ID (required);
186 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
187         uint id_MeNB_UE_X2AP_ID_Extension get_release_req_ack__id_MeNB_UE_X2AP_ID_Extension (required);
188 }
189
190 // Initiated by the SgNB indicating to MeNB that SCG resources need to be released for the given underlying cause.
191 // Defined in release_rqd.json on sgnb_release_required.proto
192 // schemaId = 1001, interface SGNBRELEASERQD
193 PROTOCOL SgNB_release_rqd (base, schema_id 1001){
194 // timestamp in milliseconds
195         ullong timestamp_ms get_SgNB_release_rqd__timestamp_ms (required,increasing);
196 // gNB ID
197         string gnb_id get_SgNB_release_rqd__gnb_id (required);
198 //   default=-1
199         llong cause_protocol get_SgNB_release_rqd__cause_protocol (required);
200 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
201         llong id_MeNB_UE_X2AP_ID get_SgNB_release_rqd__id_MeNB_UE_X2AP_ID (required);
202 //   default=-1
203         llong cause_transport get_SgNB_release_rqd__cause_transport (required);
204 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
205         llong e_RAB_ID0 get_SgNB_release_rqd__e_RAB_ID0;
206 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
207         llong e_RAB_ID1 get_SgNB_release_rqd__e_RAB_ID1;
208 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
209         llong e_RAB_ID2 get_SgNB_release_rqd__e_RAB_ID2;
210 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
211         llong e_RAB_ID3 get_SgNB_release_rqd__e_RAB_ID3;
212 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
213         llong e_RAB_ID4 get_SgNB_release_rqd__e_RAB_ID4;
214 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
215         llong e_RAB_ID5 get_SgNB_release_rqd__e_RAB_ID5;
216 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
217         llong e_RAB_ID6 get_SgNB_release_rqd__e_RAB_ID6;
218 // max is 8, for piz trial 4.  Optional.  If not present, release ALL bearers.
219         llong e_RAB_ID7 get_SgNB_release_rqd__e_RAB_ID7;
220 //   default=-1
221         llong cause_radio_network get_SgNB_release_rqd__cause_radio_network (required);
222 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
223         llong id_SgNB_UE_X2AP_ID get_SgNB_release_rqd__id_SgNB_UE_X2AP_ID (required);
224 //   default=-1
225         llong cause_misc get_SgNB_release_rqd__cause_misc (required);
226 }
227
228 // Cell-wide CSI-RS measurement tuple and SSB measurement (on serving cells)
229 // Defined in rrc_metrics.json on rrctransfer.proto
230 // schemaId = 1, interface RRCXFER
231 PROTOCOL serv_nr_cell (base, schema_id 1){
232 // timestamp in milliseconds
233         ullong timestamp_ms get_serv_nr_cell__timestamp_ms (required,increasing);
234 // gNB ID
235         string gnb_id get_serv_nr_cell__gnb_id (required);
236 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
237         llong id_MeNB_UE_X2AP_ID get_serv_nr_cell__id_MeNB_UE_X2AP_ID (required);
238 // UE_ID assigned by gNB for the UE over the X2.  Is optional
239         llong id_SgNB_UE_X2AP_ID get_serv_nr_cell__id_SgNB_UE_X2AP_ID (required);
240 // priority of the serving cell, 0 is the primary
241         llong servCellID get_serv_nr_cell__servCellID (required);
242 // CELL_ID
243         uint physCellId get_serv_nr_cell__physCellId;
244         uint rsrq get_serv_nr_cell__rsrq;
245         uint rsrp get_serv_nr_cell__rsrp;
246         uint sinr get_serv_nr_cell__sinr;
247 }
248
249 // Cell-wide  SSB measurement (from neighbor cells)
250 // Defined in rrc_metrics.json on rrctransfer.proto
251 // schemaId = 4, interface RRCXFER
252 PROTOCOL nr_neighbor (base, schema_id 4){
253 // timestamp in milliseconds
254         ullong timestamp_ms get_nr_neighbor__timestamp_ms (required,increasing);
255 // gNB ID
256         string gnb_id get_nr_neighbor__gnb_id (required);
257 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
258         llong id_MeNB_UE_X2AP_ID get_nr_neighbor__id_MeNB_UE_X2AP_ID (required);
259 // UE_ID assigned by gNB for the UE over the X2.  Is optional
260         llong id_SgNB_UE_X2AP_ID get_nr_neighbor__id_SgNB_UE_X2AP_ID (required);
261 // CELL_ID
262         uint physCellId get_nr_neighbor__physCellId;
263         uint rsrq get_nr_neighbor__rsrq;
264         uint rsrp get_nr_neighbor__rsrp;
265         uint sinr get_nr_neighbor__sinr;
266 }
267
268 // Cell-wide beam-specific CSI-RS measurements (on serving cells) 
269 // Defined in rrc_metrics.json on rrctransfer.proto
270 // schemaId = 2, interface RRCXFER
271 PROTOCOL serv_cell_beam_csi (base, schema_id 2){
272 // timestamp in milliseconds
273         ullong timestamp_ms get_serv_cell_beam_csi__timestamp_ms (required,increasing);
274 // gNB ID
275         string gnb_id get_serv_cell_beam_csi__gnb_id (required);
276 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
277         llong id_MeNB_UE_X2AP_ID get_serv_cell_beam_csi__id_MeNB_UE_X2AP_ID (required);
278 // UE_ID assigned by gNB for the UE over the X2.  Is optional
279         llong id_SgNB_UE_X2AP_ID get_serv_cell_beam_csi__id_SgNB_UE_X2AP_ID (required);
280 // priority of the serving cell, 0 is the primary
281         llong servCellID get_serv_cell_beam_csi__servCellID (required);
282 // CELL_ID
283         uint physCellId get_serv_cell_beam_csi__physCellId;
284 // beam id for CSI Reference Signal measurement results
285         llong csi_rs_index get_serv_cell_beam_csi__csi_rs_index (required);
286         uint rsrq get_serv_cell_beam_csi__rsrq;
287         uint rsrp get_serv_cell_beam_csi__rsrp;
288         uint sinr get_serv_cell_beam_csi__sinr;
289 }
290
291 // Cell-wide beam-specific CSI-RS measurements (from neighbor cells) 
292 // Defined in rrc_metrics.json on rrctransfer.proto
293 // schemaId = 5, interface RRCXFER
294 PROTOCOL neighbor_beam_csi (base, schema_id 5){
295 // timestamp in milliseconds
296         ullong timestamp_ms get_neighbor_beam_csi__timestamp_ms (required,increasing);
297 // gNB ID
298         string gnb_id get_neighbor_beam_csi__gnb_id (required);
299 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
300         llong id_MeNB_UE_X2AP_ID get_neighbor_beam_csi__id_MeNB_UE_X2AP_ID (required);
301 // UE_ID assigned by gNB for the UE over the X2.  Is optional
302         llong id_SgNB_UE_X2AP_ID get_neighbor_beam_csi__id_SgNB_UE_X2AP_ID (required);
303 // CELL_ID
304         uint physCellId get_neighbor_beam_csi__physCellId;
305 // beam id for CSI Reference Signal measurement results
306         llong csi_rs_index get_neighbor_beam_csi__csi_rs_index (required);
307         uint rsrq get_neighbor_beam_csi__rsrq;
308         uint rsrp get_neighbor_beam_csi__rsrp;
309         uint sinr get_neighbor_beam_csi__sinr;
310 }
311
312 // Cell-wide beam-specific LIST of SS/PBCH reference signal measurement (on serving cells)
313 // Defined in rrc_metrics.json on rrctransfer.proto
314 // schemaId = 3, interface RRCXFER
315 PROTOCOL serv_cell_beam_ssb (base, schema_id 3){
316 // timestamp in milliseconds
317         ullong timestamp_ms get_serv_cell_beam_ssb__timestamp_ms (required,increasing);
318 // gNB ID
319         string gnb_id get_serv_cell_beam_ssb__gnb_id (required);
320 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
321         llong id_MeNB_UE_X2AP_ID get_serv_cell_beam_ssb__id_MeNB_UE_X2AP_ID (required);
322 // UE_ID assigned by gNB for the UE over the X2.  Is optional
323         llong id_SgNB_UE_X2AP_ID get_serv_cell_beam_ssb__id_SgNB_UE_X2AP_ID (required);
324 // priority of the serving cell, 0 is the primary
325         llong servCellID get_serv_cell_beam_ssb__servCellID (required);
326 // CELL_ID
327         uint physCellId get_serv_cell_beam_ssb__physCellId;
328 // beam id for broadcast reference signals
329         llong ssb_Index get_serv_cell_beam_ssb__ssb_Index (required);
330         uint rsrq get_serv_cell_beam_ssb__rsrq;
331         uint rsrp get_serv_cell_beam_ssb__rsrp;
332         uint sinr get_serv_cell_beam_ssb__sinr;
333 }
334
335 // Cell-wide beam-specific LIST of SS/PBCH reference signal measurement (from neighbor cell)
336 // Defined in rrc_metrics.json on rrctransfer.proto
337 // schemaId = 6, interface RRCXFER
338 PROTOCOL neighbor_beam_ssb (base, schema_id 6){
339 // timestamp in milliseconds
340         ullong timestamp_ms get_neighbor_beam_ssb__timestamp_ms (required,increasing);
341 // gNB ID
342         string gnb_id get_neighbor_beam_ssb__gnb_id (required);
343 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
344         llong id_MeNB_UE_X2AP_ID get_neighbor_beam_ssb__id_MeNB_UE_X2AP_ID (required);
345 // UE_ID assigned by gNB for the UE over the X2.  Is optional
346         llong id_SgNB_UE_X2AP_ID get_neighbor_beam_ssb__id_SgNB_UE_X2AP_ID (required);
347 // CELL_ID
348         uint physCellId get_neighbor_beam_ssb__physCellId;
349 // beam id for broadcast reference signals
350         llong ssb_Index get_neighbor_beam_ssb__ssb_Index (required);
351         uint rsrq get_neighbor_beam_ssb__rsrq;
352         uint rsrp get_neighbor_beam_ssb__rsrp;
353         uint sinr get_neighbor_beam_ssb__sinr;
354 }
355
356 // Rejection by the gNMB of an incoming request from the MeNB to the gNB for getting added as a secondary node.
357 // Defined in sgnb_add_req_reject.json on sgnb_addition_request_reject.proto
358 // schemaId = 701, interface ADDREQREJECT
359 PROTOCOL sgnb_add_req_reject (base, schema_id 701){
360 // timestamp in milliseconds
361         ullong timestamp_ms get_sgnb_add_req_reject__timestamp_ms (required,increasing);
362 // gNB ID
363         string gnb_id get_sgnb_add_req_reject__gnb_id (required);
364 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory
365         llong id_MeNB_UE_X2AP_ID get_sgnb_add_req_reject__id_MeNB_UE_X2AP_ID (required);
366 // UE_ID assigned by gNB for the UE over an X2. Is optional
367         uint id_SgNB_UE_X2AP_ID get_sgnb_add_req_reject__id_SgNB_UE_X2AP_ID;
368 //   default=-1
369         llong cause_radio_network get_sgnb_add_req_reject__cause_radio_network (required);
370 //   default=-1
371         llong cause_transport get_sgnb_add_req_reject__cause_transport (required);
372 //   default=-1
373         llong cause_protocol get_sgnb_add_req_reject__cause_protocol (required);
374 //   default=-1
375         llong cause_misc get_sgnb_add_req_reject__cause_misc (required);
376 }
377
378 // Indicates positive response for adding secondary node to the UE.  This record has indicated bearers not admitted by the secondary node.
379 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
380 // schemaId = 501, interface SGNB_ADDITION_REQ_ACK
381 PROTOCOL eRABs_notadmitted_for_ue (base, schema_id 501){
382 // timestamp in milliseconds
383         ullong timestamp_ms get_eRABs_notadmitted_for_ue__timestamp_ms (required,increasing);
384 // gNB ID
385         string gnb_id get_eRABs_notadmitted_for_ue__gnb_id (required);
386 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
387         llong id_MeNB_UE_X2AP_ID get_eRABs_notadmitted_for_ue__id_MeNB_UE_X2AP_ID (required);
388 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
389         llong id_SgNB_UE_X2AP_ID get_eRABs_notadmitted_for_ue__id_SgNB_UE_X2AP_ID (required);
390 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
391         uint id_MeNB_UE_X2AP_ID_Extension get_eRABs_notadmitted_for_ue__id_MeNB_UE_X2AP_ID_Extension (required);
392 // bearer id
393         llong e_RAB_ID get_eRABs_notadmitted_for_ue__e_RAB_ID (required);
394 //   default=-1
395         llong cause_transport get_eRABs_notadmitted_for_ue__cause_transport (required);
396 //   default=-1
397         llong cause_protocol get_eRABs_notadmitted_for_ue__cause_protocol (required);
398 //   default=-1
399         llong cause_misc get_eRABs_notadmitted_for_ue__cause_misc (required);
400 //   default=-1
401         llong cause_radio_network get_eRABs_notadmitted_for_ue__cause_radio_network (required);
402 }
403
404 // Indicates positive response for adding secondary node to the UE.  This record indicates eRABs acknowledged for admission for the UE. 
405 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
406 // schemaId = 502, interface SGNB_ADDITION_REQ_ACK
407 PROTOCOL eRABs_acked_for_admit_for_ue (base, schema_id 502){
408 // timestamp in milliseconds
409         ullong timestamp_ms get_eRABs_acked_for_admit_for_ue__timestamp_ms (required,increasing);
410 // gNB ID
411         string gnb_id get_eRABs_acked_for_admit_for_ue__gnb_id (required);
412 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
413         llong id_MeNB_UE_X2AP_ID get_eRABs_acked_for_admit_for_ue__id_MeNB_UE_X2AP_ID (required);
414 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
415         llong id_SgNB_UE_X2AP_ID get_eRABs_acked_for_admit_for_ue__id_SgNB_UE_X2AP_ID (required);
416 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
417         uint id_MeNB_UE_X2AP_ID_Extension get_eRABs_acked_for_admit_for_ue__id_MeNB_UE_X2AP_ID_Extension (required);
418 //   default=0
419         llong ARP get_eRABs_acked_for_admit_for_ue__ARP (required);
420         string gTP_TEID_dl get_eRABs_acked_for_admit_for_ue__gTP_TEID_dl;
421         llong mCGresources get_eRABs_acked_for_admit_for_ue__mCGresources;
422 // likely a binary ipv6 address
423         string transportLayerAddress_dl get_eRABs_acked_for_admit_for_ue__transportLayerAddress_dl;
424         llong pDCPatSgNB get_eRABs_acked_for_admit_for_ue__pDCPatSgNB;
425         llong sCGresources get_eRABs_acked_for_admit_for_ue__sCGresources;
426 // bearer id
427         llong e_RAB_ID get_eRABs_acked_for_admit_for_ue__e_RAB_ID (required);
428 //   default=0
429         llong qCI get_eRABs_acked_for_admit_for_ue__qCI (required);
430 }
431
432 // Extracts the frequencies of the NR cells serving the eRAB.
433 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
434 // schemaId = 503, interface SGNB_ADDITION_REQ_ACK
435 PROTOCOL SgNB_ack_for_ue_NRfreqs (base, schema_id 503){
436 // timestamp in milliseconds
437         ullong timestamp_ms get_SgNB_ack_for_ue_NRfreqs__timestamp_ms (required,increasing);
438 // gNB ID
439         string gnb_id get_SgNB_ack_for_ue_NRfreqs__gnb_id (required);
440 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
441         llong id_MeNB_UE_X2AP_ID get_SgNB_ack_for_ue_NRfreqs__id_MeNB_UE_X2AP_ID (required);
442 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
443         llong id_SgNB_UE_X2AP_ID get_SgNB_ack_for_ue_NRfreqs__id_SgNB_UE_X2AP_ID (required);
444 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
445         uint id_MeNB_UE_X2AP_ID_Extension get_SgNB_ack_for_ue_NRfreqs__id_MeNB_UE_X2AP_ID_Extension (required);
446 // max is 8, 4 for PIZ trial
447         uint measuredFrequenciesSN0 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN0;
448 // max is 8, 4 for PIZ trial
449         uint measuredFrequenciesSN1 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN1;
450 // max is 8, 4 for PIZ trial
451         uint measuredFrequenciesSN2 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN2;
452 // max is 8, 4 for PIZ trial
453         uint measuredFrequenciesSN3 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN3;
454 // max is 8, 4 for PIZ trial
455         uint measuredFrequenciesSN4 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN4;
456 // max is 8, 4 for PIZ trial
457         uint measuredFrequenciesSN5 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN5;
458 // max is 8, 4 for PIZ trial
459         uint measuredFrequenciesSN6 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN6;
460 // max is 8, 4 for PIZ trial
461         uint measuredFrequenciesSN7 get_SgNB_ack_for_ue_NRfreqs__measuredFrequenciesSN7;
462 // max is 8, for piz trial 4
463         llong candidate_serving_cell_freqs0 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs0;
464 // max is 8, for piz trial 4
465         llong candidate_serving_cell_freqs1 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs1;
466 // max is 8, for piz trial 4
467         llong candidate_serving_cell_freqs2 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs2;
468 // max is 8, for piz trial 4
469         llong candidate_serving_cell_freqs3 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs3;
470 // max is 8, for piz trial 4
471         llong candidate_serving_cell_freqs4 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs4;
472 // max is 8, for piz trial 4
473         llong candidate_serving_cell_freqs5 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs5;
474 // max is 8, for piz trial 4
475         llong candidate_serving_cell_freqs6 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs6;
476 // max is 8, for piz trial 4
477         llong candidate_serving_cell_freqs7 get_SgNB_ack_for_ue_NRfreqs__candidate_serving_cell_freqs7;
478 }
479
480 // list of eRABs with sgNB radio bearer config info for addition or modification.
481 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
482 // schemaId = 504, interface SGNB_ADDITION_REQ_ACK
483 PROTOCOL SgNB_ack_for_add_mod_for_ue (base, schema_id 504){
484 // timestamp in milliseconds
485         ullong timestamp_ms get_SgNB_ack_for_add_mod_for_ue__timestamp_ms (required,increasing);
486 // gNB ID
487         string gnb_id get_SgNB_ack_for_add_mod_for_ue__gnb_id (required);
488 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
489         llong id_MeNB_UE_X2AP_ID get_SgNB_ack_for_add_mod_for_ue__id_MeNB_UE_X2AP_ID (required);
490 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
491         llong id_SgNB_UE_X2AP_ID get_SgNB_ack_for_add_mod_for_ue__id_SgNB_UE_X2AP_ID (required);
492 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
493         uint id_MeNB_UE_X2AP_ID_Extension get_SgNB_ack_for_add_mod_for_ue__id_MeNB_UE_X2AP_ID_Extension (required);
494         llong toRelease0 get_SgNB_ack_for_add_mod_for_ue__toRelease0;
495         llong toRelease1 get_SgNB_ack_for_add_mod_for_ue__toRelease1;
496         llong toRelease2 get_SgNB_ack_for_add_mod_for_ue__toRelease2;
497         llong toRelease3 get_SgNB_ack_for_add_mod_for_ue__toRelease3;
498 // to come
499         bool recoverPDCP get_SgNB_ack_for_add_mod_for_ue__recoverPDCP;
500 // to come
501         bool reestablishPDCP get_SgNB_ack_for_add_mod_for_ue__reestablishPDCP;
502 // RAN drb identity of the eRAB. For split drb this value is the same for both meNB and sgNB.
503         llong drb_Identity get_SgNB_ack_for_add_mod_for_ue__drb_Identity (required);
504 // RAN - core end to end bearer identity agnostic of underlying en-dc.
505         llong eps_BearerIdentity get_SgNB_ack_for_add_mod_for_ue__eps_BearerIdentity (required);
506 }
507
508 // signaling measurements of the user while serving the eRABs
509 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
510 // schemaId = 505, interface SGNB_ADDITION_REQ_ACK
511 PROTOCOL SgNB_ack_for_ue_measurements (base, schema_id 505){
512 // timestamp in milliseconds
513         ullong timestamp_ms get_SgNB_ack_for_ue_measurements__timestamp_ms (required,increasing);
514 // gNB ID
515         string gnb_id get_SgNB_ack_for_ue_measurements__gnb_id (required);
516 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
517         llong id_MeNB_UE_X2AP_ID get_SgNB_ack_for_ue_measurements__id_MeNB_UE_X2AP_ID (required);
518 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
519         llong id_SgNB_UE_X2AP_ID get_SgNB_ack_for_ue_measurements__id_SgNB_UE_X2AP_ID (required);
520 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
521         uint id_MeNB_UE_X2AP_ID_Extension get_SgNB_ack_for_ue_measurements__id_MeNB_UE_X2AP_ID_Extension (required);
522 // ss (synchronization signal) or broadcast cell-specific signam measurements
523         uint ssbFrequency get_SgNB_ack_for_ue_measurements__ssbFrequency;
524 // CSI RS downlink cell specific reference signal measurements
525         uint refFreqCSI_RS get_SgNB_ack_for_ue_measurements__refFreqCSI_RS;
526 // primary key of the cell id
527         uint physCellId get_SgNB_ack_for_ue_measurements__physCellId;
528         uint rsrq get_SgNB_ack_for_ue_measurements__rsrq;
529         uint rsrp get_SgNB_ack_for_ue_measurements__rsrp;
530         uint sinr get_SgNB_ack_for_ue_measurements__sinr;
531 }
532
533 // CSI beam measurements of the user while serving the eRABs
534 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
535 // schemaId = 506, interface SGNB_ADDITION_REQ_ACK
536 PROTOCOL SgNB_ack_for_ue_beam_csi (base, schema_id 506){
537 // timestamp in milliseconds
538         ullong timestamp_ms get_SgNB_ack_for_ue_beam_csi__timestamp_ms (required,increasing);
539 // gNB ID
540         string gnb_id get_SgNB_ack_for_ue_beam_csi__gnb_id (required);
541 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
542         llong id_MeNB_UE_X2AP_ID get_SgNB_ack_for_ue_beam_csi__id_MeNB_UE_X2AP_ID (required);
543 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
544         llong id_SgNB_UE_X2AP_ID get_SgNB_ack_for_ue_beam_csi__id_SgNB_UE_X2AP_ID (required);
545 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
546         uint id_MeNB_UE_X2AP_ID_Extension get_SgNB_ack_for_ue_beam_csi__id_MeNB_UE_X2AP_ID_Extension (required);
547 // ss (synchronization signal) or broadcast cell-specific signam measurements
548         uint ssbFrequency get_SgNB_ack_for_ue_beam_csi__ssbFrequency;
549 // CSI RS downlink cell specific reference signal measurements
550         uint refFreqCSI_RS get_SgNB_ack_for_ue_beam_csi__refFreqCSI_RS;
551 // primary key of the cell id
552         uint physCellId get_SgNB_ack_for_ue_beam_csi__physCellId;
553 // beam id for CSI Reference Signal measurement results
554         llong csi_rs_index get_SgNB_ack_for_ue_beam_csi__csi_rs_index (required);
555         uint rsrq get_SgNB_ack_for_ue_beam_csi__rsrq;
556         uint rsrp get_SgNB_ack_for_ue_beam_csi__rsrp;
557         uint sinr get_SgNB_ack_for_ue_beam_csi__sinr;
558 }
559
560 // SSB beam measurements of the user while serving the eRABs
561 // Defined in sgnb_addition_ack.json on sgnb_addition_request_acknowledge.proto
562 // schemaId = 507, interface SGNB_ADDITION_REQ_ACK
563 PROTOCOL SgNB_ack_for_ue_beam_ssb (base, schema_id 507){
564 // timestamp in milliseconds
565         ullong timestamp_ms get_SgNB_ack_for_ue_beam_ssb__timestamp_ms (required,increasing);
566 // gNB ID
567         string gnb_id get_SgNB_ack_for_ue_beam_ssb__gnb_id (required);
568 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching between addition_req and addition_req_ack.
569         llong id_MeNB_UE_X2AP_ID get_SgNB_ack_for_ue_beam_ssb__id_MeNB_UE_X2AP_ID (required);
570 // UE_ID assigned by gNB for the UE over an X2. primary key for referring to the UE within SgNB.
571         llong id_SgNB_UE_X2AP_ID get_SgNB_ack_for_ue_beam_ssb__id_SgNB_UE_X2AP_ID (required);
572 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
573         uint id_MeNB_UE_X2AP_ID_Extension get_SgNB_ack_for_ue_beam_ssb__id_MeNB_UE_X2AP_ID_Extension (required);
574 // ss (synchronization signal) or broadcast cell-specific signam measurements
575         uint ssbFrequency get_SgNB_ack_for_ue_beam_ssb__ssbFrequency;
576 // CSI RS downlink cell specific reference signal measurements
577         uint refFreqCSI_RS get_SgNB_ack_for_ue_beam_ssb__refFreqCSI_RS;
578 // primary key of the cell id
579         uint physCellId get_SgNB_ack_for_ue_beam_ssb__physCellId;
580 // beam id for SSB Reference Signal measurement results
581         llong ssb_Index get_SgNB_ack_for_ue_beam_ssb__ssb_Index (required);
582         uint rsrq get_SgNB_ack_for_ue_beam_ssb__rsrq;
583         uint rsrp get_SgNB_ack_for_ue_beam_ssb__rsrp;
584         uint sinr get_SgNB_ack_for_ue_beam_ssb__sinr;
585 }
586
587 // Extract the gtp_teid and also the transport layer address
588 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
589 // schemaId = 10000, interface SGNB_ADDITION_REQ
590 PROTOCOL sgnb_addreq_gtp_teid (base, schema_id 10000){
591 // timestamp in milliseconds
592         ullong timestamp_ms get_sgnb_addreq_gtp_teid__timestamp_ms (required,increasing);
593 // gNB ID
594         string gnb_id get_sgnb_addreq_gtp_teid__gnb_id (required);
595 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
596         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_gtp_teid__id_MeNB_UE_X2AP_ID (required);
597 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
598         string gTP_TEID get_sgnb_addreq_gtp_teid__gTP_TEID (required);
599 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial, likely an ipv6 address in binary.  default=0
600         string transportLayerAddress get_sgnb_addreq_gtp_teid__transportLayerAddress (required);
601 }
602
603 // Indicates request for adding secondary node to the UE
604 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
605 // schemaId = 401, interface SGNB_ADDITION_REQ
606 PROTOCOL sgnb_addreq_for_ue (base, schema_id 401){
607 // timestamp in milliseconds
608         ullong timestamp_ms get_sgnb_addreq_for_ue__timestamp_ms (required,increasing);
609 // gNB ID
610         string gnb_id get_sgnb_addreq_for_ue__gnb_id (required);
611 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
612         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue__id_MeNB_UE_X2AP_ID (required);
613 // maximum allowed fraction of traffic on the sGNB.  in bps.
614         llong uEaggregateMaximumBitRateDownlink get_sgnb_addreq_for_ue__uEaggregateMaximumBitRateDownlink;
615 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
616         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue__id_MeNB_UE_X2AP_ID_Extension (required);
617 // concatenate with plnm_identity to get the complete cell id
618         string eUTRANcellIdentifier get_sgnb_addreq_for_ue__eUTRANcellIdentifier (required);
619 // concatenate with eUTRANcellIdentifier to get the complete cell id
620         string pLMN_Identity get_sgnb_addreq_for_ue__pLMN_Identity (required);
621 }
622
623 // Indicates request for adding secondary node to the UE, with bearer details
624 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
625 // schemaId = 402, interface SGNB_ADDITION_REQ
626 PROTOCOL sgnb_addreq_for_ue_bearers (base, schema_id 402){
627 // timestamp in milliseconds
628         ullong timestamp_ms get_sgnb_addreq_for_ue_bearers__timestamp_ms (required,increasing);
629 // gNB ID
630         string gnb_id get_sgnb_addreq_for_ue_bearers__gnb_id (required);
631 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
632         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_bearers__id_MeNB_UE_X2AP_ID (required);
633 // fraction for  the enb LTE portion (MCG)  default=0
634         llong MCG_eRAB_MaximumBitrateDL get_sgnb_addreq_for_ue_bearers__MCG_eRAB_MaximumBitrateDL (required);
635 //   default=-1
636         llong pDCPatSgNB get_sgnb_addreq_for_ue_bearers__pDCPatSgNB (required);
637 // Data radio bearer ID of this bearer
638         llong drb_ID get_sgnb_addreq_for_ue_bearers__drb_ID (required);
639 // service class priority for the corresponding bearer.  default=0
640         llong priorityLevel get_sgnb_addreq_for_ue_bearers__priorityLevel (required);
641 // Tunnel is a virtual connection over the physical X2 connection meant to handle a bearer-specific GTP (GPRS Tunneling Protocol) traffic flow in terms of PDCP PDUs.  This virtual connection has an ID given by this field.  default=""
642         string gTP_TEID get_sgnb_addreq_for_ue_bearers__gTP_TEID (required);
643 // indicates if bearer preemption is possible or not.  default=-1
644         llong pre_emptionCapability get_sgnb_addreq_for_ue_bearers__pre_emptionCapability (required);
645 // fraction for  the enb LTE portion (MCG)  default=0
646         llong MCG_eRAB_GuaranteedBitrateUL get_sgnb_addreq_for_ue_bearers__MCG_eRAB_GuaranteedBitrateUL (required);
647 //   default=-1
648         llong mCGresources get_sgnb_addreq_for_ue_bearers__mCGresources (required);
649 // logical IP address for this virtual connection over X2, likely an ipv6 address in binary.  default=""
650         string transportLayerAddress get_sgnb_addreq_for_ue_bearers__transportLayerAddress (required);
651 // complete profile  default=0
652         llong full_eRAB_GuaranteedBitrateUL get_sgnb_addreq_for_ue_bearers__full_eRAB_GuaranteedBitrateUL (required);
653 //   default=-1
654         llong sCGresources get_sgnb_addreq_for_ue_bearers__sCGresources (required);
655 // fraction for  the enb LTE portion (MCG)  default=0
656         llong MCG_eRAB_MaximumBitrateUL get_sgnb_addreq_for_ue_bearers__MCG_eRAB_MaximumBitrateUL (required);
657 // complete profile  default=0
658         llong full_eRAB_MaximumBitrateUL get_sgnb_addreq_for_ue_bearers__full_eRAB_MaximumBitrateUL (required);
659 // indicates if bearer is pre-emptable or not pre-emptable.  default=-1
660         llong pre_emptionVulnerability get_sgnb_addreq_for_ue_bearers__pre_emptionVulnerability (required);
661 // radio access bearer of this bearer
662         llong e_RAB_ID get_sgnb_addreq_for_ue_bearers__e_RAB_ID (required);
663 // fraction for  the enb LTE portion (MCG)  default=0
664         llong MCG_eRAB_GuaranteedBitrateDL get_sgnb_addreq_for_ue_bearers__MCG_eRAB_GuaranteedBitrateDL (required);
665 // Qos class identifier  - this is used to refer to the traffic profile of the corresponding bearer in terms of performance metrics.  default=0
666         llong qCI get_sgnb_addreq_for_ue_bearers__qCI (required);
667 // complete profile  default=0
668         llong full_eRAB_MaximumBitrateDL get_sgnb_addreq_for_ue_bearers__full_eRAB_MaximumBitrateDL (required);
669 // complete profile  default=0
670         llong full_eRAB_GuaranteedBitrateDL get_sgnb_addreq_for_ue_bearers__full_eRAB_GuaranteedBitrateDL (required);
671 }
672
673 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
674 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
675 // schemaId = 403, interface SGNB_ADDITION_REQ
676 PROTOCOL sgnb_addreq_for_ue_sn_serv_ssb (base, schema_id 403){
677 // timestamp in milliseconds
678         ullong timestamp_ms get_sgnb_addreq_for_ue_sn_serv_ssb__timestamp_ms (required,increasing);
679 // gNB ID
680         string gnb_id get_sgnb_addreq_for_ue_sn_serv_ssb__gnb_id (required);
681 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
682         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_sn_serv_ssb__id_MeNB_UE_X2AP_ID (required);
683 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
684         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_sn_serv_ssb__id_MeNB_UE_X2AP_ID_Extension (required);
685 // CELL_ID
686         uint physCellId get_sgnb_addreq_for_ue_sn_serv_ssb__physCellId;
687 //   default=128
688         uint rsrq get_sgnb_addreq_for_ue_sn_serv_ssb__rsrq (required);
689 //   default=128
690         uint rsrp get_sgnb_addreq_for_ue_sn_serv_ssb__rsrp (required);
691 //   default=128
692         uint sinr get_sgnb_addreq_for_ue_sn_serv_ssb__sinr (required);
693 }
694
695 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
696 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
697 // schemaId = 404, interface SGNB_ADDITION_REQ
698 PROTOCOL sgnb_addreq_for_ue_sn_serv_csi_rs (base, schema_id 404){
699 // timestamp in milliseconds
700         ullong timestamp_ms get_sgnb_addreq_for_ue_sn_serv_csi_rs__timestamp_ms (required,increasing);
701 // gNB ID
702         string gnb_id get_sgnb_addreq_for_ue_sn_serv_csi_rs__gnb_id (required);
703 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
704         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_sn_serv_csi_rs__id_MeNB_UE_X2AP_ID (required);
705 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
706         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_sn_serv_csi_rs__id_MeNB_UE_X2AP_ID_Extension (required);
707 // CELL_ID
708         uint physCellId get_sgnb_addreq_for_ue_sn_serv_csi_rs__physCellId;
709 //   default=128
710         uint rsrq get_sgnb_addreq_for_ue_sn_serv_csi_rs__rsrq (required);
711 //   default=128
712         uint rsrp get_sgnb_addreq_for_ue_sn_serv_csi_rs__rsrp (required);
713 //   default=128
714         uint sinr get_sgnb_addreq_for_ue_sn_serv_csi_rs__sinr (required);
715 }
716
717 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
718 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
719 // schemaId = 405, interface SGNB_ADDITION_REQ
720 PROTOCOL sgnb_addreq_for_ue_mn_serv_ssb (base, schema_id 405){
721 // timestamp in milliseconds
722         ullong timestamp_ms get_sgnb_addreq_for_ue_mn_serv_ssb__timestamp_ms (required,increasing);
723 // gNB ID
724         string gnb_id get_sgnb_addreq_for_ue_mn_serv_ssb__gnb_id (required);
725 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
726         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_mn_serv_ssb__id_MeNB_UE_X2AP_ID (required);
727 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
728         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_mn_serv_ssb__id_MeNB_UE_X2AP_ID_Extension (required);
729 // CELL_ID
730         uint physCellId get_sgnb_addreq_for_ue_mn_serv_ssb__physCellId;
731 //   default=128
732         uint rsrq get_sgnb_addreq_for_ue_mn_serv_ssb__rsrq (required);
733 //   default=128
734         uint rsrp get_sgnb_addreq_for_ue_mn_serv_ssb__rsrp (required);
735 //   default=128
736         uint sinr get_sgnb_addreq_for_ue_mn_serv_ssb__sinr (required);
737 }
738
739 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
740 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
741 // schemaId = 406, interface SGNB_ADDITION_REQ
742 PROTOCOL sgnb_addreq_for_ue_mn_serv_csi_rs (base, schema_id 406){
743 // timestamp in milliseconds
744         ullong timestamp_ms get_sgnb_addreq_for_ue_mn_serv_csi_rs__timestamp_ms (required,increasing);
745 // gNB ID
746         string gnb_id get_sgnb_addreq_for_ue_mn_serv_csi_rs__gnb_id (required);
747 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
748         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_mn_serv_csi_rs__id_MeNB_UE_X2AP_ID (required);
749 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
750         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_mn_serv_csi_rs__id_MeNB_UE_X2AP_ID_Extension (required);
751 // CELL_ID
752         uint physCellId get_sgnb_addreq_for_ue_mn_serv_csi_rs__physCellId;
753 //   default=128
754         uint rsrq get_sgnb_addreq_for_ue_mn_serv_csi_rs__rsrq (required);
755 //   default=128
756         uint rsrp get_sgnb_addreq_for_ue_mn_serv_csi_rs__rsrp (required);
757 //   default=128
758         uint sinr get_sgnb_addreq_for_ue_mn_serv_csi_rs__sinr (required);
759 }
760
761 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
762 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
763 // schemaId = 408, interface SGNB_ADDITION_REQ
764 PROTOCOL sgnb_addreq_for_ue_sn_neigh_ssb (base, schema_id 408){
765 // timestamp in milliseconds
766         ullong timestamp_ms get_sgnb_addreq_for_ue_sn_neigh_ssb__timestamp_ms (required,increasing);
767 // gNB ID
768         string gnb_id get_sgnb_addreq_for_ue_sn_neigh_ssb__gnb_id (required);
769 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
770         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_sn_neigh_ssb__id_MeNB_UE_X2AP_ID (required);
771 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
772         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_sn_neigh_ssb__id_MeNB_UE_X2AP_ID_Extension (required);
773 // CELL_ID
774         uint physCellId get_sgnb_addreq_for_ue_sn_neigh_ssb__physCellId;
775 //   default=128
776         uint rsrq get_sgnb_addreq_for_ue_sn_neigh_ssb__rsrq (required);
777 //   default=128
778         uint rsrp get_sgnb_addreq_for_ue_sn_neigh_ssb__rsrp (required);
779 //   default=128
780         uint sinr get_sgnb_addreq_for_ue_sn_neigh_ssb__sinr (required);
781 }
782
783 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
784 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
785 // schemaId = 409, interface SGNB_ADDITION_REQ
786 PROTOCOL sgnb_addreq_for_ue_sn_neigh_csi_rs (base, schema_id 409){
787 // timestamp in milliseconds
788         ullong timestamp_ms get_sgnb_addreq_for_ue_sn_neigh_csi_rs__timestamp_ms (required,increasing);
789 // gNB ID
790         string gnb_id get_sgnb_addreq_for_ue_sn_neigh_csi_rs__gnb_id (required);
791 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
792         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_sn_neigh_csi_rs__id_MeNB_UE_X2AP_ID (required);
793 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
794         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_sn_neigh_csi_rs__id_MeNB_UE_X2AP_ID_Extension (required);
795 // CELL_ID
796         uint physCellId get_sgnb_addreq_for_ue_sn_neigh_csi_rs__physCellId;
797 //   default=128
798         uint rsrq get_sgnb_addreq_for_ue_sn_neigh_csi_rs__rsrq (required);
799 //   default=128
800         uint rsrp get_sgnb_addreq_for_ue_sn_neigh_csi_rs__rsrp (required);
801 //   default=128
802         uint sinr get_sgnb_addreq_for_ue_sn_neigh_csi_rs__sinr (required);
803 }
804
805 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
806 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
807 // schemaId = 410, interface SGNB_ADDITION_REQ
808 PROTOCOL sgnb_addreq_for_ue_mn_neigh_ssb (base, schema_id 410){
809 // timestamp in milliseconds
810         ullong timestamp_ms get_sgnb_addreq_for_ue_mn_neigh_ssb__timestamp_ms (required,increasing);
811 // gNB ID
812         string gnb_id get_sgnb_addreq_for_ue_mn_neigh_ssb__gnb_id (required);
813 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
814         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_mn_neigh_ssb__id_MeNB_UE_X2AP_ID (required);
815 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
816         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_mn_neigh_ssb__id_MeNB_UE_X2AP_ID_Extension (required);
817 // CELL_ID
818         uint physCellId get_sgnb_addreq_for_ue_mn_neigh_ssb__physCellId;
819 //   default=128
820         uint rsrq get_sgnb_addreq_for_ue_mn_neigh_ssb__rsrq (required);
821 //   default=128
822         uint rsrp get_sgnb_addreq_for_ue_mn_neigh_ssb__rsrp (required);
823 //   default=128
824         uint sinr get_sgnb_addreq_for_ue_mn_neigh_ssb__sinr (required);
825 }
826
827 // Indicates request for adding secondary node to the UE.  Extract the SN / serving cell / ssb measurements.
828 // Defined in sgnb_addition_req.json on sgnb_addition_request.proto
829 // schemaId = 411, interface SGNB_ADDITION_REQ
830 PROTOCOL sgnb_addreq_for_ue_mn_neigh_csi_rs (base, schema_id 411){
831 // timestamp in milliseconds
832         ullong timestamp_ms get_sgnb_addreq_for_ue_mn_neigh_csi_rs__timestamp_ms (required,increasing);
833 // gNB ID
834         string gnb_id get_sgnb_addreq_for_ue_mn_neigh_csi_rs__gnb_id (required);
835 // UE_ID assigned by eNB for the UE over an X2.  primary key for matching.
836         llong id_MeNB_UE_X2AP_ID get_sgnb_addreq_for_ue_mn_neigh_csi_rs__id_MeNB_UE_X2AP_ID (required);
837 // additional bytes optionally rqd. for user id (MeNB ue ID is 16 bits)  not expected to be used for PIZ trial.  default=0
838         uint id_MeNB_UE_X2AP_ID_Extension get_sgnb_addreq_for_ue_mn_neigh_csi_rs__id_MeNB_UE_X2AP_ID_Extension (required);
839 // CELL_ID
840         uint physCellId get_sgnb_addreq_for_ue_mn_neigh_csi_rs__physCellId;
841 //   default=128
842         uint rsrq get_sgnb_addreq_for_ue_mn_neigh_csi_rs__rsrq (required);
843 //   default=128
844         uint rsrp get_sgnb_addreq_for_ue_mn_neigh_csi_rs__rsrp (required);
845 //   default=128
846         uint sinr get_sgnb_addreq_for_ue_mn_neigh_csi_rs__sinr (required);
847 }
848
849 // ??? 
850 // Defined in sgnb_mod_confirm.json on sgnb_modification_confirm.proto
851 // schemaId = 1301, interface SGNBMODCONF
852 PROTOCOL sgnb_mod_conf (base, schema_id 1301){
853 // timestamp in milliseconds
854         ullong timestamp_ms get_sgnb_mod_conf__timestamp_ms (required,increasing);
855 // gNB ID
856         string gnb_id get_sgnb_mod_conf__gnb_id (required);
857 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
858         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_conf__id_MeNB_UE_X2AP_ID (required);
859 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory
860         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_conf__id_SgNB_UE_X2AP_ID (required);
861 }
862
863 // ??? 
864 // Defined in sgnb_mod_req.json on sgnb_modification_request.proto
865 // schemaId = 1201, interface SGNBMODREQ
866 PROTOCOL sgnb_mod_req (base, schema_id 1201){
867 // timestamp in milliseconds
868         ullong timestamp_ms get_sgnb_mod_req__timestamp_ms (required,increasing);
869 // gNB ID
870         string gnb_id get_sgnb_mod_req__gnb_id (required);
871 //   default=-1
872         llong cause_protocol get_sgnb_mod_req__cause_protocol (required);
873 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
874         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_req__id_MeNB_UE_X2AP_ID (required);
875 //   default=-1
876         llong cause_transport get_sgnb_mod_req__cause_transport (required);
877 //   default=-1
878         llong failureType get_sgnb_mod_req__failureType (required);
879 //   default=-1
880         llong cause_radio_network get_sgnb_mod_req__cause_radio_network (required);
881 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory
882         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_req__id_SgNB_UE_X2AP_ID (required);
883 //   default=-1
884         llong cause_misc get_sgnb_mod_req__cause_misc (required);
885 }
886
887 // ??? 
888 // Defined in sgnb_mod_req_ack.json on sgnb_modification_request_acknowledge.proto
889 // schemaId = 1701, interface SGNBMODREQACK
890 PROTOCOL sgnb_mod_req_ack (base, schema_id 1701){
891 // timestamp in milliseconds
892         ullong timestamp_ms get_sgnb_mod_req_ack__timestamp_ms (required,increasing);
893 // gNB ID
894         string gnb_id get_sgnb_mod_req_ack__gnb_id (required);
895 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
896         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_req_ack__id_MeNB_UE_X2AP_ID (required);
897 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory
898         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_req_ack__id_SgNB_UE_X2AP_ID (required);
899 }
900
901 // ??? 
902 // Defined in sgnb_mod_req_reject.json on sgnb_modification_request_reject.proto
903 // schemaId = 1801, interface SGNBMODREQREJECT
904 PROTOCOL sgnb_mod_req_reject (base, schema_id 1801){
905 // timestamp in milliseconds
906         ullong timestamp_ms get_sgnb_mod_req_reject__timestamp_ms (required,increasing);
907 // gNB ID
908         string gnb_id get_sgnb_mod_req_reject__gnb_id (required);
909 //   default=-1
910         llong cause_protocol get_sgnb_mod_req_reject__cause_protocol (required);
911 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
912         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_req_reject__id_MeNB_UE_X2AP_ID (required);
913 //   default=-1
914         llong cause_transport get_sgnb_mod_req_reject__cause_transport (required);
915 //   default=-1
916         llong cause_radio_network get_sgnb_mod_req_reject__cause_radio_network (required);
917 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory
918         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_req_reject__id_SgNB_UE_X2AP_ID (required);
919 //   default=-1
920         llong cause_misc get_sgnb_mod_req_reject__cause_misc (required);
921 }
922
923 // ??? 
924 // Defined in sgnb_mod_rqd.json on sgnb_modification_required.proto
925 // schemaId = 1901, interface SGNBMODREQUIRED
926 PROTOCOL sgnb_mod_required (base, schema_id 1901){
927 // timestamp in milliseconds
928         ullong timestamp_ms get_sgnb_mod_required__timestamp_ms (required,increasing);
929 // gNB ID
930         string gnb_id get_sgnb_mod_required__gnb_id (required);
931 //   default=-1
932         llong cause_protocol get_sgnb_mod_required__cause_protocol (required);
933 // UE_ID assigned by eNB for the UE over an X2. Is mandatory
934         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_required__id_MeNB_UE_X2AP_ID (required);
935 //   default=-1
936         llong cause_transport get_sgnb_mod_required__cause_transport (required);
937 //   default=-1
938         llong cause_radio_network get_sgnb_mod_required__cause_radio_network (required);
939 // UE_ID assigned by gNB for the UE over the X2.  Is mandatory
940         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_required__id_SgNB_UE_X2AP_ID (required);
941 //   default=-1
942         llong cause_misc get_sgnb_mod_required__cause_misc (required);
943 }
944
945 // ??? 
946 // Defined in sgnb_modification_refuse.json on sgnb_modification_refuse.proto
947 // schemaId = 1401, interface SGNBMODREFUSE
948 PROTOCOL sgnb_mod_refuse (base, schema_id 1401){
949 // timestamp in milliseconds
950         ullong timestamp_ms get_sgnb_mod_refuse__timestamp_ms (required,increasing);
951 // gNB ID
952         string gnb_id get_sgnb_mod_refuse__gnb_id (required);
953 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory
954         llong id_MeNB_UE_X2AP_ID get_sgnb_mod_refuse__id_MeNB_UE_X2AP_ID (required);
955 // UE_ID assigned by gNB for the UE over an X2. Is optional
956         llong id_SgNB_UE_X2AP_ID get_sgnb_mod_refuse__id_SgNB_UE_X2AP_ID (required);
957 //   default=-1
958         llong cause_radio_network get_sgnb_mod_refuse__cause_radio_network (required);
959 //   default=-1
960         llong cause_transport get_sgnb_mod_refuse__cause_transport (required);
961 //   default=-1
962         llong cause_protocol get_sgnb_mod_refuse__cause_protocol (required);
963 //   default=-1
964         llong cause_misc get_sgnb_mod_refuse__cause_misc (required);
965 }
966
967 //  
968 // Defined in snstatusxfer.json on sn_status_transfer.proto
969 // schemaId = 1601, interface SNSTATUSXFER
970 PROTOCOL sn_status_transfer (base, schema_id 1601){
971 // timestamp in milliseconds
972         ullong timestamp_ms get_sn_status_transfer__timestamp_ms (required,increasing);
973 // gNB ID
974         string gnb_id get_sn_status_transfer__gnb_id (required);
975 // same as id_MeNB_UE_X2AP_ID in SgNBAdditionRequest, SgNBAdditionRequestAcknowledge, etc
976         llong id_Old_eNB_UE_X2AP_ID get_sn_status_transfer__id_Old_eNB_UE_X2AP_ID (required);
977 // UE_ID assigned by eNB for the UE over the X2.  Is mandatory  default=0
978         uint id_SgNB_UE_X2AP_ID get_sn_status_transfer__id_SgNB_UE_X2AP_ID (required);
979 // Bearer ID
980         llong e_RAB_ID get_sn_status_transfer__e_RAB_ID (required);
981         llong pDCP_SNlength18 get_sn_status_transfer__pDCP_SNlength18 (required);
982 }
983