This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
Alexander Allen 6a9d1e584d
[Mellanox] Implement Hardware Revision Platform API Call for Mellanox Chassis and PSU (#7552)
#### Why I did it

This pull request allows calls to be made through the platform 2.0 API that retrieve the PSU and Chassis hardware revision on Mellanox platforms. Access to these values will aid customers in determining their hardware revisions for debugging and technical support. These values are intended to be eventually exposed through the CLI. 

#### How I did it

For the PSU hardware revision I used the existing VPD function calls implemented in https://github.com/Azure/sonic-buildimage/pull/7382

For the Chassis hardware revision I parsed the SMBIOS / DMI type 2 information to retrieve the information.
2021-05-24 09:37:59 -07:00
..
barefoot [Arista] Update platform driver submodules (#7561) 2021-05-08 10:32:33 -07:00
broadcom DellEMC: Z9332f fix SFP issues (#7677) 2021-05-24 09:20:39 -07:00
cavium [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
centec [Centec][arm64] support new board E530-48s4x and E530-24x2q (#7189) 2021-05-01 10:37:07 -07:00
centec-arm64 [Centec][arm64] support new board E530-48s4x and E530-24x2q (#7189) 2021-05-01 10:37:07 -07:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell-arm64 [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
marvell-armhf [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
mellanox [Mellanox] Implement Hardware Revision Platform API Call for Mellanox Chassis and PSU (#7552) 2021-05-24 09:37:59 -07:00
nephos [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
p4 Add support to start fdbsyncd when orchagent docker starts (#5979) 2020-12-24 18:36:01 -08:00
pddf Invoking python3 installation for PDDF 2.0 PAI package (#7100) 2021-04-08 08:21:17 -07:00
template Add gearbox phy device files and a new physyncd docker to support VS gearbox phy feature (#4851) 2020-09-25 08:32:44 -07:00
vs [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00