    # File lib/fog/linode/requests/compute/linode_ip_list.rb, line 21
            def linode_ip_list(linode_id, ip_id=nil)
              response = Excon::Response.new
              response.status = 200
              body = {
                "ERRORARRAY" => [],
                "ACTION" => "linode.ip.list"
              }

              if ip_id
                # one IP
                mock_ip = create_mock_ip(ip_id)
                response.body = body.merge("DATA" => [mock_ip])
              else
                # all IPs
                mock_ips = []
                ip_id = rand(10000..99999)
                mock_ips << create_mock_ip(linode_id, ip_id)
                ip_id = rand(10000..99999)
                mock_ips << create_mock_ip(linode_id, ip_id, false)
                response.body = body.merge("DATA" => mock_ips)
              end
              response
            end