Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BFN] Implementation API for platform component #10180

Merged
merged 11 commits into from
Mar 10, 2022

Commits on Feb 22, 2022

  1. [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>
    Taras Keryk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    3ff682f View commit details
    Browse the repository at this point in the history
  2. [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>
    Taras Keryk committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    1845440 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. [BFN] Implementation API for platform component

        get chassis name from json
    Taras Keryk committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    d4ecb20 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. [BFN] Implementation API for platform component

          Updated platform and platrom_components json
    Taras Keryk committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    391802d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. [BFN] Implementation API for platform component

          Fixed spaces in component.py
    Taras Keryk committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    3c5f451 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. [BFN] Implementation API for platform component

          Fixed exception in component.py
    Taras Keryk committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    1adb8cc View commit details
    Browse the repository at this point in the history
  2. Update chassis.py

    Taras Keryk authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    501490b View commit details
    Browse the repository at this point in the history
  3. [BFN] Implementation API for platform component

          Fixed spaces in component.py, chassis.py
    Taras Keryk committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    f581ed1 View commit details
    Browse the repository at this point in the history
  4. [BFN] Implementation API for platform component: Fixed spaces in comp…

    …onent.py, chassis.py
    Taras Keryk committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    5a7528e View commit details
    Browse the repository at this point in the history
  5. Merge branch 'tk_bf_fwutil_status' of github.com:tkerykx/sonic-buildi…

    …mage into tk_bf_fwutil_status
    Taras Keryk committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    31e32b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Fixed exception in get_bios_version

    Taras Keryk committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    96269f9 View commit details
    Browse the repository at this point in the history