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

[Accton] Fix wrong system eeprom data of 0x25 field #10784

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brandonchuang
Copy link
Contributor

@brandonchuang brandonchuang commented May 9, 2022

Signed-off-by: Brandon Chuang brandon_chuang@edge-core.com

Why I did it

The TLV info get from platform_chassis.get_system_eeprom_info() is not correct.

The timestamp will be discarded by eeprom.__parse_output()
Corrected data:
Manufacture Date 0x25 19 06/22/2018 17:23:18
Wrong data:
Manufacture Date 0x25 19 06/22/2018

How I did it

Modify eeprom.__parse_output()

How to verify it

Invoke chassis.get_system_eeprom_info() to verify the "Manufacture Date"

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

The timestamp will be discarded by eeprom.__parse_output()

Corrected data:
    Manufacture Date     0x25       19  06/22/2018 17:23:18
Wrong data:
    Manufacture Date     0x25       19  06/22/2018

Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.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.

1 participant