class SwitchedVlanPropertiesAnswerer extends Answerer {

  @VisibleForTesting
  static void computeNodeVlanProperties(
      SpecifierContext ctxt,
      Configuration c,
      InterfaceSpecifier interfacesSpecifier,
      boolean excludeShutInterfaces,
      IntegerSpace vlans,
      Map<Integer, ImmutableSet.Builder<NodeInterfacePair>> switchedVlanInterfaces,
      ImmutableMap.Builder<Integer, Integer> vlanVnisBuilder) {
    addVlanVnis(c, vlans, switchedVlanInterfaces, vlanVnisBuilder);
    Set<NodeInterfacePair> specifiedInterfaces =
        interfacesSpecifier.resolve(ImmutableSet.of(c.getHostname()), ctxt);
    for (Interface iface : c.getAllInterfaces().values()) {
      tryAddInterfaceToVlans(
          specifiedInterfaces, excludeShutInterfaces, vlans, switchedVlanInterfaces, iface);
    }
  }

  public  SwitchedVlanPropertiesAnswerer(Question question, IBatfish batfish);

}