lib/ropenstack/common/rest.rb
def build_http(uri, timeout)
      http = Net::HTTP.new(uri.host, uri.port)
      if(timeout > 0) 
              http.open_timeout = timeout
              http.read_timeout = timeout
      end
      return http
    end
def build_http(uri, timeout)
      http = Net::HTTP.new(uri.host, uri.port)
      if(timeout > 0) 
              http.open_timeout = timeout
              http.read_timeout = timeout
      end
      return http
    end
Build a HTTP object having been given a timeout and a URI object
 Returns Net::HTTP object.