3     def interfaces(options = {}, &block)
 
   6       networking = construct_attributes[:networking] || {}
 
   7       networking_interfaces = networking[:interfaces] || {}
 
   9       networking_interfaces.each_value  do |interface|
 
  10         next unless options[:role].nil? || interface[:role].to_s == options[:role].to_s
 
  11         next unless options[:family].nil? || interface[:family].to_s == options[:family].to_s
 
  14           interfaces << interface