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: Z9100,S6100 Exporting Device Last PowerOn Reason #3059

Merged

Conversation

sridhar-ravindran
Copy link
Contributor

- What I did
Added code to return last poweron reason

- How I did it
Exported SMF PowerOn Register into
/sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
- How to verify it
root@sonic:~# cat /sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
11 <<<<<<<<<<<<<<<<<<<<<<<<<
- Description for the changelog

DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason

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

@sridhar-ravindran
Copy link
Contributor Author

sridhar-ravindran commented Jun 21, 2019

Unit Testing

root@sonic:~# cat /sys/devices/platform/SMF.512/hwmon/hwmon1/smf_poweron_reason
11

@sridhar-ravindran
Copy link
Contributor Author

Hi,

Could you please merge this request along with #3063

@jleveque
Copy link
Contributor

Retest vs please

@lguohan lguohan merged commit fe45a0d into sonic-net:master Jun 29, 2019
@sridhar-ravindran sridhar-ravindran deleted the export_smf_poweron_reason branch June 29, 2019 05:12
mssonicbld added a commit that referenced this pull request Jul 25, 2024
…atically (#19679)

#### Why I did it
src/sonic-utilities
```
* a8132159 - (HEAD -> master, origin/master, origin/HEAD) Fix multi-asic behaviour for dropstat (#3059) (6 hours ago) [bktsim]
```
#### How I did it
#### How to verify it
#### Description for the changelog
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 1, 2024
…atically (sonic-net#19679)

#### Why I did it
src/sonic-utilities
```
* a8132159 - (HEAD -> master, origin/master, origin/HEAD) Fix multi-asic behaviour for dropstat (sonic-net#3059) (6 hours ago) [bktsim]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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