node[:networking][:interfaces].each do |name, interface|
if interface[:role] && role = node[:networking][:roles][interface[:role]]
if role[interface[:family]]
node[:networking][:interfaces].each do |name, interface|
if interface[:role] && role = node[:networking][:roles][interface[:role]]
if role[interface[:family]]