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

[decode-syseeprom] Optimize platform info fetch #276

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

andriymoroz-mlnx
Copy link
Collaborator

Signed-off-by: Andriy Moroz c_andriym@mellanox.com

- What I did
Updated decode-syseeprom utility to directly use sonic_platform module for getting platform name instead of running sonic-cfggen

- How I did it
imported needed functions from sonic_platform

- How to verify it
run decode-syseeprom -m to see it still able to fetch MAC

It also works faster
0.1s versus 0.3s

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@lguohan lguohan merged commit be4f03e into sonic-net:master Jun 26, 2018
lguohan pushed a commit that referenced this pull request Oct 13, 2018
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
madhupalu added a commit to madhupalu/sonic-utilities that referenced this pull request Jan 18, 2019
madhupalu added a commit to madhupalu/sonic-utilities that referenced this pull request Feb 17, 2019
…annel' and Suffix 'xxxx' (sonic-net#276)

Signed-off-by: madhu Pal <madhupa@aviznetworks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants