Skip to content

Commit

Permalink
man: update redfishpower(8) with plug substitution
Browse files Browse the repository at this point in the history
Problem: redfishpower is out of date with recent updates
supporting plug substituation in paths.

Document use of {{plug}} plug substitution.
  • Loading branch information
chu11 committed Mar 26, 2024
1 parent 24860f7 commit e78f7c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions man/redfishpower.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ Set default path and optional post data to turn off plug.
.TP
.I "setplugs plugnames hostindices"
Associate a plug name with one of the hostnames specified on the
command line, referred to by its zero origin index. Can be called
multiple times to configure all possible plugs.
command line, referred to by its zero origin index. Can be called
multiple times to configure all possible plugs. In most
cases the number of plugs should equal the number of indices.
Multiple plugs can be mapped to a single host index, which is typically
used along with plug substitution (see "setpath" command below).
.TP
.I "setpath <plugnames> <cmd> <path> [postdata]"
Set path for specific plug power command ("stat", "on", "off") and optional post data.
The plug name can be substituted into the URI path by specifying "{{plug}}" in the path.
.TP
.I "settimeout <seconds>"
Set command timeout in seconds.
Expand Down

0 comments on commit e78f7c6

Please sign in to comment.