Skip to content
Snippets Groups Projects
Commit 8bd59208 authored by abat's avatar abat
Browse files

Merge into master from pull request #298:

Update to attachment point port.  newAP is given preference if it is not a broadcast domain port and its active time is later than oldAP. (https://github.com/floodlight/floodlight/pull/298)
parents 5ca25c26 06da6c49
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,9 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
long activeOffset = 0;
if (!topology.isConsistent(oldSw, oldPort, newSw, newPort)) {
if (!newBD && oldBD) {
return -1;
}
if (newBD && oldBD) {
activeOffset = AttachmentPoint.EXTERNAL_TO_EXTERNAL_TIMEOUT;
}
......
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