class SwitchedVlanPropertiesAnswerer extends Answerer {

  @VisibleForTesting
  static void tryAddVlanVni(
      Layer2Vni vniSettings,
      IntegerSpace vlans,
      ImmutableMap.Builder<Integer, Integer> vlanVnisBuilder,
      Map<Integer, ImmutableSet.Builder<NodeInterfacePair>> switchedVlanInterfaces) {
    if (vlans.contains(vniSettings.getVlan())) {
      int vlan = vniSettings.getVlan();
      vlanVnisBuilder.put(vlan, vniSettings.getVni());
      switchedVlanInterfaces.computeIfAbsent(vlan, v -> ImmutableSet.builder());
    }
  }

  public  SwitchedVlanPropertiesAnswerer(Question question, IBatfish batfish);

}