Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-2366

OLT Agent: different packet stats retrieval

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: bal
    • Labels:
      None

      Description

      openolt::PortStatistics* collectPortStatistics(bcmolt_intf_ref intf_ref) ()

      This function will not collect the stats that I am looking for.

      I am looking for 64B Packet Count, 128B Packet Count, 256B Packet Count etc.,. for both Rx and Tx

       Can you check the Broadcom API to see if the above are supported, and how to implement them in the agent code.

      ---------------------------

      Hi Dileep,

       I have filed a CSP (CS9392205) to ask Broadcom the question. It needs to wait for Broadcom answer. By the way, I think I could implement this statistic by packet length. I also could modify the agent source codes. Now, I am doing the BAL SDK migration into agent source code. After that, I would add those counters to agent source code.

       Best Regards,

      Jason

      ---------------------

      I am looking how to get L2 Stats from OLT on both PON and NNI side.

       

      The stats like

      rx_bytes,  rx_packets, tx_bytes, tx_packets

      are implemented at the agent. So these are monitored by Adapter.

      The Python implementation in 1.X are fully ported to 2.1 into Go. This is a good news !!

      https://github.com/opencord/openolt/blob/fe64970ada63b84487e29eca38b9b502002b3e3d/README.md#how-do-i-check-packet-counters-on-the-olts-pon-interface

       However for Layer 2 stats, I see the BAL Agent is not populating. I am looking at stats like

      64B Packet Count, 128B Packet Count, 256B Packet Count etc.,. for both Rx and Tx.

       I looked at the below agent implementation.

      https://github.com/opencord/openolt/blob/master/agent/src/stats_collection.cc

      Can you expand this implementation to provide the packet size stats ?

      I know all these have to obtained via BCM API. I don’t have access to these files.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jasonhuang Jason Huang
            Reporter:
            dileep_kuchhangi Dileep Kuchhangi
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: