trex-core icon indicating copy to clipboard operation
trex-core copied to clipboard

astf statistics via api garbled

Open andreasbourges opened this issue 3 years ago • 0 comments

statistics for astf templates via API are garbled.

see https://groups.google.com/g/trex-tgn/c/7KnQvPr1o9I


...seems the astf statistics is a bit garbled - I can see some strange dict keys in there:

TCP

UDP Flow Table

this is a small part from the get_stats() call:

    "traffic": {
        "client": {
            "m_active_flows": 0,
            "m_est_flows": 0,
            "m_tx_bw_l7_r": 0.0,
            "m_tx_bw_l7_total_r": 0.0,
            "m_rx_bw_l7_r": 0.0,
            "m_tx_pps_r": 0.0,
            "m_rx_pps_r": 0.0,
            "m_avg_size": 0.0,
            "m_tx_ratio": 0.0,
            "-": 0,
            "m_traffic_duration": 0,
            "TCP": 0,
            "tcps_connattempt": 0,
            "tcps_accepts": 0,
 

Thanks,

Andreas

andreasbourges avatar Sep 24 '21 14:09 andreasbourges