def errata(options = {})
      options = {
        id:          nil,
        ip_block:    nil,
        disposition: nil
      }.update(options)
      return nil if @_errata.nil?
      return nil if @_errata.empty?

      errata_found = Hash.new do |h, k|
        h[k] = Hash.new do |hh, kk|
          hh[kk] = {}
        end
      end

      # First filter on id, then ip_block, then disposition
      filter_hash(@_errata, options[:id]).each do |id, hash|
        filter_hash(hash, options[:ip_block]).each do |ip_block, hash1|
          filter_hash(hash1, options[:disposition]).each do |disposition, errata|
            errata_found[id][ip_block][disposition] = errata
          end
        end
      end

      # Return nil if there are no errata that meet criteria
      if errata_found.empty?
        return nil
      # If only one errata meets criteria, return that HwErratum object
      elsif errata_found.size == 1
        errata_found.values.first.values.first.values.first
      else
        return errata_found
      end
    end
def errata(options = {})
      options = {
        id:          nil,
        ip_block:    nil,
        disposition: nil
      }.update(options)
      return nil if @_errata.nil?
      return nil if @_errata.empty?

      errata_found = Hash.new do |h, k|
        h[k] = Hash.new do |hh, kk|
          hh[kk] = {}
        end
      end

      # First filter on id, then ip_block, then disposition
      filter_hash(@_errata, options[:id]).each do |id, hash|
        filter_hash(hash, options[:ip_block]).each do |ip_block, hash1|
          filter_hash(hash1, options[:disposition]).each do |disposition, errata|
            errata_found[id][ip_block][disposition] = errata
          end
        end
      end

      # Return nil if there are no errata that meet criteria
      if errata_found.empty?
        return nil
      # If only one errata meets criteria, return that HwErratum object
      elsif errata_found.size == 1
        errata_found.values.first.values.first.values.first
      else
        return errata_found
      end
    end
Returns an erratum or list of erratum that meet a specific criteria