Skip to content

Added new API to interact with the platform components#60

Merged
jleveque merged 2 commits intosonic-net:masterfrom
nazariig:master-component-api
Sep 10, 2019
Merged

Added new API to interact with the platform components#60
jleveque merged 2 commits intosonic-net:masterfrom
nazariig:master-component-api

Conversation

@nazariig
Copy link
Copy Markdown
Collaborator

@nazariig nazariig commented Sep 9, 2019

Signed-off-by: Nazarii Hnydyn nazariig@mellanox.com

The purpose of these changes are:

  • Improve component API scalability
  • Avoid code duplication: both chassis_base.py and module_base.py share the same methods:
    get_component_name_list(), get_firmware_version(), install_component_firmware()
  • Add new description field (later will be used by fwutil):
    get_description()

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@nazariig
Copy link
Copy Markdown
Collaborator Author

nazariig commented Sep 9, 2019

@jleveque / @mudsut4ke please have a look

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@jleveque jleveque merged commit 33b037d into sonic-net:master Sep 10, 2019
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
* Initial version of pcied

* Fix LGTM error

* Fix LGTM issues

* Update to read the state_db for the pcie device status check after
calling `pcieutil pcie-check`.

* fix LGTM

* Update the pcie_status in STATE_DB

* Add logic to exit the daemon if the pcie configuration file doesn't exist.

* review comments - spaces

* review comments

* fixed lgtm

* typo

* typo

* use subprocess call

* review comment
Junchao-Mellanox pushed a commit to Junchao-Mellanox/sonic-platform-common that referenced this pull request May 7, 2025
… 202412 (sonic-net#60)

```<br>* 496dbd8 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-platform-common into 202412 (2025-03-10) [Sonic Automation]
* f679a67 - (origin/202411) Restore optoe page to default 0 for active cables (sonic-net#550) (2025-03-04) [mssonicbld]
* c735073 - [202411][cmis] Fix cmis.get_error_description speed for passive module (sonic-net#538) (2025-02-12) [Aryeh Feigin]
* b7e75d8 - Add 800G innolight PNs (sonic-net#540) (2025-02-07) [mssonicbld]<br>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants