Skip to content
Snippets Groups Projects
Commit 5d97f58f authored by meiyangbigswitch's avatar meiyangbigswitch
Browse files

flow reconciliation: device move/ link down cases handling

parent 401757d7
No related branches found
No related tags found
No related merge requests found
......@@ -353,10 +353,12 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
ipv4Address = null;
Entity e = new Entity(macAddress, vlan, ipv4Address, switchDPID,
switchPort, null);
/**
if (!allKeyFieldsPresent(e, entityClassifier.getKeyFields())) {
throw new IllegalArgumentException("Not all key fields specified."
+ " Required fields: " + entityClassifier.getKeyFields());
}
*/
return findDeviceByEntity(e);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment