Changes so that Redis entries will be understood by other xapps.

Issue-ID: RICAPP-96

Signed-off-by: Ron Shacham <rshacham@research.att.com>
Change-Id: Ieffceab767f53163d197101bdf0785c07a79b2d7
This commit is contained in:
Ron Shacham
2020-12-09 23:17:28 -05:00
parent 3557f23287
commit 87bba2bd0f
2 changed files with 45 additions and 31 deletions

View File

@@ -340,12 +340,15 @@ type Timestamp struct {
}
type CellMetricsEntry struct {
MeasTimestampPDCPBytes Timestamp `json:"Meas-Timestamp-PDCP-Bytes"`
PDCPBytesDL int64 `json:"PDCP-Bytes-DL"`
PDCPBytesUL int64 `json:"PDCP-Bytes-UL"`
MeasTimestampPRB Timestamp `json:"Meas-Timestamp-PRB"`
AvailPRBDL int64 `json:"Avail-PRB-DL"`
AvailPRBUL int64 `json:"Avail-PRB-UL"`
MeasTimestampPDCPBytes Timestamp `json:"MeasTimestampPDCPBytes"`
CellID string `json:"CellID"`
PDCPBytesDL int64 `json:"PDCPBytesDL"`
PDCPBytesUL int64 `json:"PDCPBytesUL"`
MeasTimestampPRB Timestamp `json:"MeasTimestampAvailPRB"`
AvailPRBDL int64 `json:"AvailPRBDL"`
AvailPRBUL int64 `json:"AvailPRBUL"`
MeasPeriodPDCP int64 `json:"MeasPeriodPDCPBytes"`
MeasPeriodPRB int64 `json:"MeasPeriodAvailPRB"`
}
type CellRFType struct {
@@ -356,19 +359,22 @@ type CellRFType struct {
type NeighborCellRFType struct {
CellID string `json:"CID"`
CellRF CellRFType `json:"Cell-RF"`
CellRF CellRFType `json:"CellRF"`
}
type UeMetricsEntry struct {
UeID int64 `json:"UE ID"`
ServingCellID string `json:"Serving Cell ID"`
MeasTimestampPDCPBytes Timestamp `json:"Meas-Timestamp-PDCP-Bytes"`
PDCPBytesDL int64 `json:"PDCP-Bytes-DL"`
PDCPBytesUL int64 `json:"PDCP-Bytes-UL"`
MeasTimestampPRB Timestamp `json:"Meas-Timestamp-PRB"`
PRBUsageDL int64 `json:"PRB-Usage-DL"`
PRBUsageUL int64 `json:"PRB-Usage-UL"`
MeasTimeRF Timestamp `json:"Meas-Time-RF"`
ServingCellRF CellRFType `json:"servingCellRfReport"`
NeighborCellsRF []NeighborCellRFType `json:"neighbourCellList"`
UeID int64 `json:"UEID"`
ServingCellID string `json:"ServingCellID"`
MeasTimestampPDCPBytes Timestamp `json:"MeasTimestampUEPDCPBytes"`
PDCPBytesDL int64 `json:"UEPDCPBytesDL"`
PDCPBytesUL int64 `json:"UEPDCPBytesUL"`
MeasTimestampPRB Timestamp `json:"MeasTimestampUEPRBUsage"`
PRBUsageDL int64 `json:"UEPRBUsageDL"`
PRBUsageUL int64 `json:"UEPRBUsageUL"`
MeasTimeRF Timestamp `json:"MeasTimestampRF"`
MeasPeriodRF int64 `json:"MeasPeriodRF"`
MeasPeriodPDCP int64 `json:"MeasPeriodUEPDCPBytes"`
MeasPeriodPRB int64 `json:"MeasPeriodUEPRBUsage"`
ServingCellRF CellRFType `json:"ServingCellRF"`
NeighborCellsRF []NeighborCellRFType `json:"NeighborCellRF"`
}