# File lib/puppet/type/zone.rb, line 398
398:     def setstatus(hash)
399:         prophash = {}
400:         hash.each do |param, value|
401:             next if param == :name
402:             case self.class.attrtype(param)
403:             when :property
404:                 # Only try to provide values for the properties we're managing
405:                 if prop = self.property(param)
406:                     prophash[prop] = value
407:                 end
408:             else
409:                 self[param] = value
410:             end
411:         end
412:         return prophash
413:     end