amari.{kpi,drb}: Fix multicell handling
-
Fix amari.kpi to handle stats messages in enb.xlog that come with multiple cells. Previously such messages were leading to the following errors on KPI calculator place (e.g. Wendelin):
xlte.amari.kpi.LogError: t1731059787.321: stats describes 2 cells; but only single-cell configurations are supported
-
Fix amari.drb to generate x.drb_stats messages when an UE is associated to multiple cells due to e.g. Carrier Aggregation. Previously CA was leading to
raise RuntimeError(("ue #%s belongs to %d cells; "+ "but only single-cell configurations are supported") % (ue_id, len(ju(['cells']))))
error on eNB side.
- minor fixes and enhancements done along the way.
Please see individual patches for details.
An example enb.xlog for eNB with 2 cells and an UE Carrier-Aggregated to both cells is here:
https://lab.nexedi.com/kirr/misc/-/blob/6a04cf3/lte/20241111-2cell.xlog
And here is how it looks when visualized via kpidemo.py :
Kirill
/cc @lu.xu, @paul.graydon