This website requires JavaScript.
Explore
Help
Register
Sign In
matthew
/
sonic-buildimage
Watch
1
Star
0
Fork
0
You've already forked sonic-buildimage
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
76e5ca446f
sonic-buildimage
/
device
/
barefoot
/
x86_64-accton_as9516_32d-r0
/
platform_components.json
10 lines
154 B
JSON
Raw
Normal View
History
Unescape
Escape
[BFN] Implementation API for platform component (#10180) * [BFN] Implementation API for platform component SONiC has a concept of "platform components" this may include - CPLD, FPGA, BIOS, BMC, etc. These changes are needed to read the version of the BIOS and BMC component. What I did Create components.py module Add funcion for reading componet version to thrift interface How I did it The previous implementaion didn't have platform components API, so fwutil return an empty list. After implementation of the platform component API, we have actual list of platform components and firmware versions How to verify it Run manually 'fwutil show status' or run unit tests Previous command output Chassis Module Component Version Description ------------------------ -------- ----------- --------- ------------- New command output Chassis Module Component Version Description ------------------------ -------- ----------- --------- ------------- Chassis1 N/A BIOS 1.2.3 Chassis BIOS BMC 5.1 Chassis BMC Signed-off-by: Taras Keryk <tarasx.keryk@intel.com> * [BFN] Implementation API for platform component SONiC has a concept of "platform components" this may include - CPLD, FPGA, BIOS, BMC, etc. These changes are needed to read the version of the BIOS and BMC component. What I did Create components.py module Add funcion for reading componet version to thrift interface How I did it The previous implementaion didn't have platform components API, so fwutil return an empty list. After implementation of the platform component API, we have actual list of platform components and firmware versions How to verify it Run manually 'fwutil show status' or run unit tests Previous command output Chassis Module Component Version Description ------------------------ -------- ----------- --------- ------------- New command output Chassis Module Component Version Description ------------------------ -------- ----------- --------- ------------- Chassis1 N/A BIOS 1.2.3 Chassis BIOS BMC 5.1 Chassis BMC Signed-off-by: Taras Keryk <tarasx.keryk@intel.com> * [BFN] Implementation API for platform component get chassis name from json * [BFN] Implementation API for platform component Updated platform and platrom_components json * [BFN] Implementation API for platform component Fixed spaces in component.py * [BFN] Implementation API for platform component Fixed exception in component.py * Update chassis.py * [BFN] Implementation API for platform component Fixed spaces in component.py, chassis.py * [BFN] Implementation API for platform component: Fixed spaces in component.py, chassis.py * Fixed exception in get_bios_version
2022-03-10 04:55:06 -06:00
{
"chassis"
:
{
"Newport"
:
{
"component"
:
{
"BIOS"
:
{
}
,
"BMC"
:
{
}
}
}
}
[show] add platform components in Newport, Montara, Mavericks for fix incomprehensible firmware Error print (#8690) What I did: add platform components How I did it: In platform_components.json add chassis and empty component How to verify it: Run show platform firmware updates
2021-09-14 09:34:00 -05:00
}
Reference in New Issue
Copy Permalink