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

[sonic_platform_base] Add sonic_sfp and sonic_eeprom to sonic_platform_base #27

Merged
merged 6 commits into from
May 9, 2019
Merged

[sonic_platform_base] Add sonic_sfp and sonic_eeprom to sonic_platform_base #27

merged 6 commits into from
May 9, 2019

Conversation

keboliu
Copy link
Collaborator

@keboliu keboliu commented Apr 11, 2019

[sonic_platform_base]: Add sonic_sfp and sonic_eeprom to sonic_platform_base

  • Add a copy of sonic_sfp and sonic_eeprom to sonic_platform_base

  • Add sonic_sfp and sonic_eeprom as submodules of sonic_platform_base

  • Make original sonic_sfp and sonic_eeprom as symbol link to the new subfolder under sonic_platform_base to avoid duplicate files.

    Signed-off-by: Kebo Liu kebol@mellanox.com

@henry-ma
Copy link

henry-ma commented May 7, 2019

@jleveque could you review and approve this? thanks.

@lguohan lguohan merged commit 35c0301 into sonic-net:master May 9, 2019
@keboliu keboliu deleted the new_platform_base_module branch May 24, 2019 07:00
yxieca pushed a commit that referenced this pull request Jul 10, 2019
…m_base (#27)

* add sonic_sfp and sonic_eeprom to sonic_platform_base

* make original sonic_sfp and sonic_eeprom as symbol link to the new subfolder under sonic_platform_base to avoid duplicate files

* Revert "make original sonic_sfp and sonic_eeprom as symbol link to the new subfolder under sonic_platform_base to avoid duplicate files"

This reverts commit 3e741dd.
# with mapping for future reference.
#
# TODO: Refactor this to use the portconfig.py module that now
# exists as part of the sonic-config-engine package.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice the TODO is quite reasonable, and there are lots of repeated port_config parser in code base. Can we start take the action?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good time to to make the change, because there are open PRs to begin transitioning from the port_config.ini file to a new 'platform.json' file. The logic to do the parsing and also to fallback to the old port_config.ini is all in the portconfig.py module: sonic-net/sonic-buildimage#3909

oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
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.

6 participants