]> xenbits.xensource.com Git - people/royger/osstest.git/commit
PDU::pause: Better pause time configuration
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 2 Jul 2018 15:39:47 +0000 (15:39 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 4 Jul 2018 15:42:46 +0000 (16:42 +0100)
commitde46a4548f1c416d9eea9129cd8122a657771f68
tree304b47e899a42fb966b54abe40f614aa1502603c
parentd9345d5abc8de09342bd993aa0fee88b5b521c9d
PDU::pause: Better pause time configuration

If no time is specified, use 120 (or the PowerOnTime host property
value) when powering on, or 10 when powering off.

This is all intended to be used like this:
  HostProp_rimava0_PowerMethod nest; msw --apc6 pdu2 19; pause; ipmi rimava0m

This means:
  * For power on, first turn on the APC PDU pdu2 port 19
  * Wait 120s (or HostProp_rimava0_PowerOnTime)
  * Then ipmi to the host name rimava0m with ADMIN/ADMIN
    (or HostProp_rimava0_IpmiUser/HostProp_rimava0_IpmiPassword)
  * For power off, do that in reverse, only with a 10s pause.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Osstest/PDU/pause.pm
Osstest/TestSupport.pm