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

DellEMC: EEPROM decoder for S6000, S6000-ON #4718

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

ArunSaravananBalachandran
Copy link
Contributor

- Why I did it

For decoding system EEPROM of S6000 based on Dell offset format and S6000-ON’s system EEPROM in ONIE TLV format.

- How I did it

  • Differentiate between S6000 and S6000-ON using the product name available in ‘dmi’ ( “/sys/class/dmi/id/product_name” )
  • For decoding S6000 system EEPROM in Dell offset format and updating the redis DB with the EEPROM contents, added a new class ‘EepromS6000’ in eeprom.py,
  • Renamed certain methods in both Eeprom, EepromS6000 classes to accommodate the plugin-specific methods.

- How to verify it

  • Use 'decode-syseeprom' command to list the system EEPROM details.
  • Wrote a python script to load chassis class and call the appropriate methods.

UT Logs: S6000_eeprom_logs.txt, S6000-ON_eeprom_logs.txt
Test script: eeprom_test_py.txt

- Description for the changelog

DellEMC: EEPROM decoder for S6000, S6000-ON

- A picture of a cute animal (not mandatory but encouraged)

@ArunSaravananBalachandran
Copy link
Contributor Author

This PR needs to be picked for 201911 branch.

@jleveque
Copy link
Contributor

jleveque commented Jun 8, 2020

Retest mellanox please

@jleveque
Copy link
Contributor

jleveque commented Jun 8, 2020

Retest vsimage please

@lguohan lguohan merged commit 54b284f into sonic-net:master Jun 9, 2020
abdosi pushed a commit that referenced this pull request Jun 16, 2020
**- Why I did it**

For decoding system EEPROM of S6000 based on Dell offset format and S6000-ON’s system EEPROM in ONIE TLV format.

**- How I did it**

- Differentiate between S6000 and S6000-ON using the product name available in ‘dmi’  ( “/sys/class/dmi/id/product_name” )
- For decoding S6000 system EEPROM in Dell offset format and updating the redis DB with the EEPROM contents, added a new class ‘EepromS6000’ in eeprom.py, 
- Renamed certain methods in both Eeprom, EepromS6000 classes to accommodate the plugin-specific methods.

**- How to verify it**

- Use 'decode-syseeprom' command to list the system EEPROM details.
- Wrote a python script to load chassis class and call the appropriate methods.

UT Logs: [S6000_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735515/S6000_eeprom_logs.txt), [S6000-ON_eeprom_logs.txt](https://github.com/Azure/sonic-buildimage/files/4735461/S6000-ON_eeprom_logs.txt)
Test script: [eeprom_test_py.txt](https://github.com/Azure/sonic-buildimage/files/4735509/eeprom_test_py.txt)
@ArunSaravananBalachandran ArunSaravananBalachandran deleted the S6000_EEPROM branch July 17, 2020 06:00
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.

4 participants