-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Future
-
Component/s: bal
-
Labels:None
-
Story Points:5
-
Epic Link:
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 !!
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.