Set "UE ID" field in Ue Metrics.

Signed-off-by: jinwei.fan <jinwei.fan@samsung.com>
Change-Id: Id789316a0a7abd14a17ee112e1a6bbc6d71f48ef
This commit is contained in:
jinwei.fan 2020-12-01 11:59:22 +08:00
parent 3c35293212
commit 3557f23287
2 changed files with 7 additions and 1 deletions

View File

@ -649,6 +649,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) {
json.Unmarshal([]byte(ueJsonStr), &ueMetrics)
}
ueMetrics.UeID = ueID
log.Printf("UeID: %d", ueMetrics.UeID)
ueMetrics.ServingCellID = servingCellID
log.Printf("ServingCellID: %s", ueMetrics.ServingCellID)
@ -719,6 +721,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) {
json.Unmarshal([]byte(ueJsonStr), &ueMetrics)
}
ueMetrics.UeID = ueID
log.Printf("UeID: %d", ueMetrics.UeID)
ueMetrics.ServingCellID = servingCellID
log.Printf("ServingCellID: %s", ueMetrics.ServingCellID)
@ -797,6 +801,8 @@ func (c *Control) handleIndication(params *xapp.RMRParams) (err error) {
json.Unmarshal([]byte(ueJsonStr), &ueMetrics)
}
ueMetrics.UeID = ueID
log.Printf("UeID: %d", ueMetrics.UeID)
ueMetrics.ServingCellID = servingCellID
log.Printf("ServingCellID: %s", ueMetrics.ServingCellID)

View File

@ -360,7 +360,7 @@ type NeighborCellRFType struct {
}
type UeMetricsEntry struct {
UeID string `json:"UE ID"`
UeID int64 `json:"UE ID"`
ServingCellID string `json:"Serving Cell ID"`
MeasTimestampPDCPBytes Timestamp `json:"Meas-Timestamp-PDCP-Bytes"`
PDCPBytesDL int64 `json:"PDCP-Bytes-DL"`