/** * Test if the specified MAC address table entry should be accepted or not. * * @param ment A {@link MacTableEntry} instance to be tested. * @return {@code true} only if the specified entry was detected on the * specified physical switch. */ @Override public boolean accept(MacTableEntry ment) { return targetNode.equals(ment.getNode()); } }
private boolean containsLinkNodeId(final EndPointGroup endPointGroup, final NodeId linkNodeId) { final String nodeIdValue = extractNodeId(endPointGroup).getValue(); return linkNodeId.equals(nodeIdValue); }
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
/** * Return a future associated with the task to read flow statistics * about the given VTN flow entry. * * @param vfent The target flow entry. * @return A {@link VTNFuture} instance which returns the flow statistics * about the specified flow entry. */ public VTNFuture<FlowStatsRecord> get(VtnFlowEntry vfent) { assert vfent.getNode().equals(targetNode.getNodeId()); BigInteger cookie = vfent.getCookie().getValue(); SettableVTNFuture<FlowStatsRecord> f = getFuture(cookie); if (txState.get() >= STATE_COMPLETED) { // No more statistics will be received. f.set(null); } return f; }
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
return false; } else if(!_id.equals(other.getId())) { return false;
if (nodeId.equals(destinationNode)) continue; if (isFloodDomainOnNode(ordinals.getFdId(), destinationNode)) {
addNxNspMatch(mb, sfcNshHeader.getNshNspToChain()); addNxNsiMatch(mb, sfcNshHeader.getNshNsiToChain()); if (!netElements.getDstNodeId().equals(netElements.getSrcNodeId())) { addNxTunIpv4DstMatch(mb, ipTunDest); priority = 1500;