sonic-buildimage/platform/barefoot
Taras Keryk a89f294fd5
[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 16:25:06 +05:30
..
bfn-modules [dockers] Barefoot fix bulleye build (#9766) 2022-01-16 11:25:44 -08:00
docker-saiserver-bfn [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-syncd-bfn [BFN] Updated SDK to 20220127_sai_1.9.1 (#9870) 2022-02-08 02:36:07 -08:00
docker-syncd-bfn-rpc [syncd-rpc] Install Libboost Atomic 1.71, Libqtcore And Libqtnetwork (#6689) 2021-02-10 02:26:31 -08:00
saithrift-patches [BFN] syncd-rpc build with thrift 0.14.1 (#9884) 2022-02-18 01:44:42 -08:00
sonic-platform-modules-accton Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
sonic-platform-modules-arista@516ece8126 [Arista] Update platform submodules (#9895) 2022-02-02 16:23:45 +05:30
sonic-platform-modules-bfn [platform/barefoot] fix bullseye build system (#9779) 2022-01-22 10:33:34 -08:00
sonic-platform-modules-bfn-montara [BFN] Implementation API for platform component (#10180) 2022-03-10 16:25:06 +05:30
sonic-platform-modules-bfn-newport [platform/barefoot] fix bullseye build system (#9779) 2022-01-22 10:33:34 -08:00
sonic-platform-modules-ingrasys Update Barefoot platform module for Bullseye and 5.10 kernel (#8) 2021-11-10 15:27:22 -08:00
sonic-platform-modules-wnc-osw1800 [dockers] Barefoot fix bulleye build (#9766) 2022-01-16 11:25:44 -08:00
.gitignore [barefoot]: Add psample module to load at boot time on BFN platform (#7164) 2021-03-26 11:08:28 -07:00
bfn-modules.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
bfn-platform-ingrasys.mk [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
bfn-platform-wnc.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
bfn-platform.mk [BFN] Updated SDK to 20220127_sai_1.9.1 (#9870) 2022-02-08 02:36:07 -08:00
bfn-sai.mk [BFN] Updated SDK to 20220127_sai_1.9.1 (#9870) 2022-02-08 02:36:07 -08:00
docker-syncd-bfn-rpc.mk [BFN] syncd-rpc build with thrift 0.14.1 (#9884) 2022-02-18 01:44:42 -08:00
docker-syncd-bfn.mk [BFN] Fixed BFN platform build (#9271) 2021-11-26 00:48:48 -08:00
libsaithrift-dev.mk [BFN] syncd-rpc build with thrift 0.14.1 (#9884) 2022-02-18 01:44:42 -08:00
one-aboot.mk [Arista] Update driver submodules (#9393) 2021-12-08 11:33:36 -08:00
one-image.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
platform-modules-accton.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30
platform-modules-arista.mk [Arista] Update driver submodules (#9393) 2021-12-08 11:33:36 -08:00
platform-modules-bfn-montara.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-bfn-newport.mk [barefoot][platform] Update BFN platforms (#5356) 2020-09-16 10:34:49 -07:00
platform-modules-bfn.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-ingrasys.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-wnc-osw1800.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform.conf [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
rules.mk Add support for Accton wedge100bf_32qs platform to SONiC master (#9257) 2022-02-18 15:21:14 +05:30