here is a bug : there would be at most 10 second between group_add to group_added, but if in the 10 second, the group was modified, no group_added notify would be receive, but a group_updated instead. with out the change, the consequnce flow would not be add
Change-Id: I5703aafc6169dc595adc36a79fe8fabd68eb8fbc
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/OltPipeline.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/OltPipeline.java
index a323427..3b4025d 100644
--- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/OltPipeline.java
+++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/OltPipeline.java
@@ -649,7 +649,8 @@
private class InnerGroupListener implements GroupListener {
@Override
public void event(GroupEvent event) {
- if (event.type() == GroupEvent.Type.GROUP_ADDED) {
+ if (event.type() == GroupEvent.Type.GROUP_ADDED ||
+ event.type() == GroupEvent.Type.GROUP_UPDATED) {
GroupKey key = event.subject().appCookie();
NextObjective obj = pendingGroups.getIfPresent(key);