]> xenbits.xensource.com Git - people/royger/osstest.git/commit
PDU::ipmi_try: New method
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 2 Jul 2018 16:40:40 +0000 (16:40 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 4 Jul 2018 15:42:46 +0000 (16:42 +0100)
commitf8ce47c6c7c46624c326eb86fe70f0c821d96aca
tree9292083de758547a8c8b09059d909edf649fbd2b
parentde46a4548f1c416d9eea9129cd8122a657771f68
PDU::ipmi_try: New method

For power on, this is just like ipmi.

For power off, it doesn't mind errors (although it has three
attempts).  This is useful when combined with pdu power: if the
chassis power is already off, ipmi will fail.

If the ipmi operation does fail, then the chassing pdu power operation
will do the job.  So this will also fix things if the test case
crashed the bmc or something.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/PDU/ipmi_try.pm [new file with mode: 0644]