class VxlanTopologyUtils {

  @VisibleForTesting
  static void addVniEdges(
      MutableGraph<VxlanNode> graph,
      Table<VrfId, Integer, Layer2Vni> allVniSettings,
      Integer vni,
      Map<VrfId, Layer2Vni> vrfs) {
    for (VrfId vrfTail : vrfs.keySet()) {
      for (VrfId vrfHead : vrfs.keySet()) {
        // Generate all VRF combinations without repetition
        if (vrfTail.equals(vrfHead)) {
          continue;
        }
        addVniEdge(
            graph,
            vrfTail,
            allVniSettings.get(vrfTail, vni),
            vrfHead,
            allVniSettings.get(vrfHead, vni));
      }
    }
  }

  private  VxlanTopologyUtils();

}