[chassis] Add HLD for fabric port handling in chassis#668
[chassis] Add HLD for fabric port handling in chassis#668rlhui merged 11 commits intosonic-net:masterfrom
Conversation
|
As we discussed on the review meeting, Is the direction to go Fabric ports as yet another ports and PortSyncD will manage it for fetching counters, and some show command to work?. |
We looked into this some more and concluded that we cannot use portsyncd for fabric ports. This is because
With that said, we can use FlexCounters to collect the counters for the queues that are mapped to the fabric ports. We are in the process of verifying this. Arista team will update this doc as soon as we can. |
| 3 : 0 2 0 0 193 | ||
| ``` | ||
|
|
||
| ### 2.7.1 Fabric Status |
There was a problem hiding this comment.
As there can be many fabric links in the chassis, may be even more useful if there is a CLI to only display the links/fabric ports that have errors. Eg.. "show fabric counters errors"
|
Please add @minionatwork and Srikanth to the reviewers. |
|
|
||
| PORT RxCells TxCells Crc Fec Corrected | ||
| ------------------------------------------------------------------------- | ||
| 0 : 71660578 2 0 0 0 |
There was a problem hiding this comment.
Can port specified with bandwidth information and current utilization ?.
There was a problem hiding this comment.
I guess you are talking about fabric port data rates?
We can create another cli command showing current data rates of fabric ports on an asic.
show -n asicX fabric counters rates --period Y
Output could look like:
AsicX
Fabric port | InMbps | MaxInMbps | %InMbps | OutMbps | MaxOutMbps | %OutMbps
0
1
2
...
MaxInMbps typically gets from serdes link speed (e.g., 50 Khz).
This is a companion HLD for the other chassis HLDs - pulls/622 and pulls/639.