def set_shutdown_request_command(opts)
      shutdown_request = ShutdownRequest.submit(opts)
      CommandIO.instance.reply(opts[:conn], { :level => shutdown_request.level, :immediately => shutdown_request.immediately? })
    rescue Exception => e
      CommandIO.instance.reply(opts[:conn], { :error => e.message })
    end
def set_shutdown_request_command(opts)
      shutdown_request = ShutdownRequest.submit(opts)
      CommandIO.instance.reply(opts[:conn], { :level => shutdown_request.level, :immediately => shutdown_request.immediately? })
    rescue Exception => e
      CommandIO.instance.reply(opts[:conn], { :error => e.message })
    end
Set reboot timeout command

 === Parameters
 opts[:conn](EM::Connection):: Connection used to send reply
 opts[:level](String):: shutdown request level
 opts[:immediately](Boolean):: shutdown immediacy or nil

 === Return
 true:: Always return true