diff --git a/etc/devices/redfishpower-cray-r272z30.dev b/etc/devices/redfishpower-cray-r272z30.dev index 23811d0e..f833cd0b 100644 --- a/etc/devices/redfishpower-cray-r272z30.dev +++ b/etc/devices/redfishpower-cray-r272z30.dev @@ -29,8 +29,6 @@ specification "redfishpower-cray-r272z30" { expect "redfishpower> " send "setoffpath redfish/v1/Systems/Self/Actions/ComputerSystem.Reset {\"ResetType\":\"ForceOff\"}\n" expect "redfishpower> " - send "setcyclepath redfish/v1/Systems/Self/Actions/ComputerSystem.Reset {\"ResetType\":\"ForceRestart\"}\n" - expect "redfishpower> " send "settimeout 60\n" expect "redfishpower> " } @@ -54,7 +52,9 @@ specification "redfishpower-cray-r272z30" { expect "redfishpower> " } script cycle_ranged { - send "cycle %s\n" + send "off %s\n" + expect "redfishpower> " + send "on %s\n" expect "redfishpower> " } } diff --git a/etc/devices/redfishpower-supermicro.dev b/etc/devices/redfishpower-supermicro.dev index c73b39dc..91b1e336 100644 --- a/etc/devices/redfishpower-supermicro.dev +++ b/etc/devices/redfishpower-supermicro.dev @@ -29,8 +29,6 @@ specification "redfishpower-supermicro" { expect "redfishpower> " send "setoffpath redfish/v1/Systems/1/Actions/ComputerSystem.Reset {\"ResetType\":\"ForceOff\"}\n" expect "redfishpower> " - send "setcyclepath redfish/v1/Systems/1/Actions/ComputerSystem.Reset {\"ResetType\":\"ForceRestart\"}\n" - expect "redfishpower> " send "settimeout 60\n" expect "redfishpower> " } @@ -54,7 +52,9 @@ specification "redfishpower-supermicro" { expect "redfishpower> " } script cycle_ranged { - send "cycle %s\n" + send "off %s\n" + expect "redfishpower> " + send "on %s\n" expect "redfishpower> " } }