class VrfNameRegexInterfaceSpecifier implements InterfaceSpecifier {

  @Override
  public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) {
    return nodes.stream()
        .flatMap(n -> ctxt.getConfigs().get(n).getAllInterfaces().values().stream())
        .filter(i -> _pattern.matcher(i.getVrfName()).matches())
        .map(NodeInterfacePair::of)
        .collect(ImmutableSet.toImmutableSet());
  }

  public  VrfNameRegexInterfaceSpecifier(Pattern pattern);

}