Skip to content

[decode-syseeprom] Optimize platform info fetch#276

Merged
lguohan merged 1 commit intosonic-net:masterfrom
andriymoroz-mlnx:decode_eeprom_update
Jun 26, 2018
Merged

[decode-syseeprom] Optimize platform info fetch#276
lguohan merged 1 commit intosonic-net:masterfrom
andriymoroz-mlnx:decode_eeprom_update

Conversation

@andriymoroz-mlnx
Copy link
Copy Markdown
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