Skip to content
Snippets Groups Projects
Commit 3be0a70d authored by abat's avatar abat
Browse files

Merge into master from pull request #3828:

Flush Events Explicitly in DeviceManager outside packet-in pipeline (https://github.com/bigswitch/bigswitchcontroller/pull/3828)
parents 4df2e1fa ad377b7b
No related branches found
No related tags found
No related merge requests found
......@@ -2081,6 +2081,9 @@ IFlowReconcileListener, IInfoProvider {
break;
}
}
// Since cleanupEntities() is not called in the packet-in pipeline,
// debugEvents need to be flushed explicitly
debugEvents.flushEvents();
}
protected void removeEntity(Entity removed,
......@@ -2234,6 +2237,9 @@ IFlowReconcileListener, IInfoProvider {
sendDeviceMovedNotification(d);
}
}
// Since topologyChanged() does not occur in the packet-in pipeline,
// debugEvents need to be flushed explicitly
debugEvents.flushEvents();
}
/**
......@@ -2312,6 +2318,9 @@ IFlowReconcileListener, IInfoProvider {
for (Entity entity: device.entities ) {
this.learnDeviceByEntity(entity);
}
// Since reclassifyDevices() is not called in the packet-in pipeline,
// debugEvents need to be flushed explicitly
debugEvents.flushEvents();
return true;
}
......
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