question: public static void matchvPoolWithStoragePools ( VirtualPool vpool , List < StoragePool > pools , DbClient dbClient , CoordinatorClient coordinator , String matcherGroupName , StringBuffer errorMessage ) { List < StoragePool > filterPools = getMatchedPoolWithStoragePools ( vpool , pools , VirtualPool . getProtectionSettings ( vpool , dbClient ) , VirtualPool . getRemoteProtectionSettings ( vpool , dbClient ) , VirtualPool . getFileRemoteProtectionSettings ( vpool , dbClient ) , dbClient , coordinator , matcherGroupName , errorMessage ) ; updateInvalidAndMatchedPoolsForVpool ( vpool , filterPools , pools , dbClient ) ; }
target:  Matches given VirtualPool with list of pools provided and update matched/invalid pools in VirtualPool.