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

WIP redfishpower: output summary after power cmd #101

Closed
wants to merge 1 commit into from

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Jan 27, 2024

This is a WIP per discussion in #79. Obviously shouldn't be used until we determine the actual protocol, but just wanted to make sure

A) it wouldn't be hard to do this. I just used global counters instead of trying to create a "wrapper" data structure, which I think would have made things more difficult than they would have had to be.

B) given an illustration of what we can probably do.

redfishpower> stat phetchy33
phetchy33: on
summary: ok: 1 timeout: 0 error: 0
redfishpower> stat phetchy[33-35]
phetchy33: on
phetchy34: network error
phetchy35: network error
summary: ok: 1 timeout: 0 error: 2

Problem: DESCRIBE SEOMTHING IN FUTURE WHEN WE DETERMINE PROTOCOL

Add counters indicating if a power command is ok, errored, or timedout
and output a summary at the end of the power control operation for
all hosts specified.
@chu11
Copy link
Member Author

chu11 commented Mar 20, 2024

closing, this has been supplanted by other work (notably PR #161 work)

@chu11 chu11 closed this Mar 20, 2024
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