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

redfishpower: allow timeout to be set by device script #72

Merged
merged 3 commits into from
Jan 25, 2024

Commits on Jan 25, 2024

  1. redfishpower: support settimeout prompt config

    Problem: The timeout in redfishpower is currently hard coded to 60
    seconds.  However, some slow systems may require it to be longer
    than 60 seconds.
    
    Support a prompt command that will allow change of the power command
    timeout.  Document new command in redfishpower(8).  Update redfishpower
    test helper to parse settimeout.
    chu11 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    10dd0c6 View commit details
    Browse the repository at this point in the history
  2. etc: set timeout in redfishpower devices

    Problem: If a user modifies the powerman timeout in a redfishpower
    device file, they may not be aware that it should also be modified
    in redfishpower.
    
    Add a call to settimeout in the login script of redfishpower devices.
    This can alert users that any changes to the powerman timeout should
    also be adjusted in redfishpower.
    chu11 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    4ac33cf View commit details
    Browse the repository at this point in the history
  3. man: add redfishpower modification info

    Problem: Due to the nature of redfishpower being a REST interface,
    many users are copying and pasting the redfishpower device files
    and slightly tweaking them for their systems.  Users could use
    more information on how to do this.  In addition, there are potential
    pitfalls on other systems that users need to be aware of.
    
    Add a section on modifications to redfishpower(8).  Add pointers to
    this section in all redfishpower device files.
    
    Fixes chaos#67
    chu11 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    b561dd4 View commit details
    Browse the repository at this point in the history