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

[platform] Remove references to deprecated get_serial_number() method in Chassis class #5649

Merged
merged 1 commit into from
Oct 18, 2020
Merged

[platform] Remove references to deprecated get_serial_number() method in Chassis class #5649

merged 1 commit into from
Oct 18, 2020

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Oct 16, 2020

- Why I did it

The get_serial_number() method in the ChassisBase and ModuleBase classes was redundant, as the get_serial() method is inherited from the DeviceBase class. This method was removed from the base classes in sonic-platform-common and the submodule was updated in #5625.

This PR aligns the existing vendor platform API implementations to remove the get_serial_number() methods and ensure the get_serial() methods are implemented, if they weren't previously.

Note that this PR does not modify the Dell platform API implementations, as this will be handled as part of #5609

- How I did it

Remove get_serial_number() methods from existing platform API implementations (except Dell -- see above) and ensure the get_serial() method is implemented, if it wasn't previously.

@jleveque jleveque merged commit 8011edc into sonic-net:master Oct 18, 2020
@jleveque jleveque deleted the remove_get_serial_number branch October 18, 2020 05:00
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
… in Chassis class (sonic-net#5649)

The `get_serial_number()` method in the ChassisBase and ModuleBase classes was redundant, as the `get_serial()` method is inherited from the DeviceBase class. This method was removed from the base classes in sonic-platform-common and the submodule was updated in sonic-net#5625.

This PR aligns the existing vendor platform API implementations to remove the `get_serial_number()` methods and ensure the `get_serial()` methods are implemented, if they weren't previously.

Note that this PR does not modify the Dell platform API implementations, as this will be handled as part of sonic-net#5609
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.

2 participants