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

[201911][Mellanox]converting SKU based utils to Platform based utils #4830

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

madhanmellanox
Copy link
Contributor

What I did
I moved all the SKU based variables (dictionaries), functions to Platform based variables and functions in scripts like sfputil.py, chassis.py, psu.py, fan.py and thermal.py

How I did it
I eliminated almost all the references of SKU based dictionaries and functions from these files and instead used Platform based dictionaries and functions.

How to verify it
Used the following commands to verify my changes are working:
sudo sfputil show presence
show platform psustatus
show interface transceiver eeprom Ethernet0
show platform temperature

Description for the changelog

The changes are only in files sfputil.py, chassis.py, fan.py, psu.py and thermal.py and the changes are conversion of dictionaries and functions from SKU based to Platform based.

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

@madhanmellanox madhanmellanox changed the title converting SKU based utils to Platform based utils [201911][Mellanox]converting SKU based utils to Platform based utils Jun 23, 2020
@prsunny
Copy link
Contributor

prsunny commented Jun 23, 2020

Original PR ref - #4786

@prsunny prsunny merged commit 337502c into sonic-net:201911 Jun 23, 2020
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.

3 participants