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