4 def interfaces(role: nil)
5 networking = construct_attributes[:networking] || {}
6 networking_interfaces = networking[:interfaces] || {}
8 networking_interfaces.each_value.select do |interface|
9 role.nil? || interface[:role].to_s == role.to_s
16 Chef::Node.include(OpenStreetMap::Mixin::Interfaces)