HLD for getting error status of the SPF modules#12
Conversation
Initial version Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
|
OK, great stuff, but having a return status of 0 mean "POWER BUDGET EXCEEDED" and return code 255 mean "No error" breaks a very common convention of 0 return code means "No errors". Recommend that you change this. |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Thank you for your comments. |
|
Is there a way we can move this logic to xcvrd? This way we can keep in line with the SONiC ecosystem (e.g., xcvrd is the only application responsible for communicating with transceivers), and it also opens up the ability for other vendors to implement this if they have similar support on their platforms. |
I think there are two approaches to achieve it:
As this is a command for debugging, it may have real-time requirements. So the second approach is preferred. Meanwhile, I'm not sure whether this is the scope of this design or another design should be opened for this |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Initial version
Signed-off-by: Stephen Sun stephens@nvidia.com