ke han
Committed by Gerrit Code Review

here is a bug : there would be at most 10 second between group_add to group_adde…

…d, 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
...@@ -649,7 +649,8 @@ public class OltPipeline extends AbstractHandlerBehaviour implements Pipeliner { ...@@ -649,7 +649,8 @@ public class OltPipeline extends AbstractHandlerBehaviour implements Pipeliner {
649 private class InnerGroupListener implements GroupListener { 649 private class InnerGroupListener implements GroupListener {
650 @Override 650 @Override
651 public void event(GroupEvent event) { 651 public void event(GroupEvent event) {
652 - if (event.type() == GroupEvent.Type.GROUP_ADDED) { 652 + if (event.type() == GroupEvent.Type.GROUP_ADDED ||
653 + event.type() == GroupEvent.Type.GROUP_UPDATED) {
653 GroupKey key = event.subject().appCookie(); 654 GroupKey key = event.subject().appCookie();
654 655
655 NextObjective obj = pendingGroups.getIfPresent(key); 656 NextObjective obj = pendingGroups.getIfPresent(key);
......