CID-1192805: Remove dead local store from OvsNetworkTopologyGuruImpl

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-09-17 16:26:33 +02:00
parent c27dd6293e
commit b1929e366d

View File

@ -95,8 +95,7 @@ public class OvsNetworkTopologyGuruImpl extends ManagerBase implements OvsNetwor
List<? extends Network> vpcNetworks = _vpcMgr.getVpcNetworks(vpcId);
List<Long> vpcHostIds = new ArrayList<>();
for (Network vpcNetwork : vpcNetworks) {
List<Long> networkHostIds = new ArrayList<Long>();
networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId());
List<Long> networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId());
if (networkHostIds != null && !networkHostIds.isEmpty()) {
for (Long hostId : networkHostIds) {
if (!vpcHostIds.contains(hostId)) {