    # File lib/fog/linode/requests/compute/avail_kernels.rb, line 30
            def avail_kernels(kernel_id=nil)
              response = Excon::Response.new
              response.status = 200

              body = {
                "ERRORARRAY" => [],
                "ACTION" => "avail.kernels"
              }
              if kernel_id
                mock_kernel = create_mock_kernel(kernel_id)
                response.body = body.merge("DATA" => [mock_kernel])
              else
                mock_kernels = []
                10.times do
                  kernel_id = rand(1..200)
                  mock_kernels << create_mock_kernel(kernel_id)
                end
                response.body = body.merge("DATA" => mock_kernels)
              end
              response
            end