[core]getAllInterfaces is returning a Set