Ray Milkey
Committed by Gerrit Code Review

Fix for ONOS-4568 - Intents stuck in INSTALLING state

The default pipeline driver was not calling the success callback for
next objectives. This caused the intent installer to think there
were still flows in need of installation, and the intent never
completed.

Change-Id: Ib411c317b28475cfc1e966e31f859cebbeea3792
...@@ -217,6 +217,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme ...@@ -217,6 +217,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme
217 pendingNext.put(nextObjective.id(), nextObjective); 217 pendingNext.put(nextObjective.id(), nextObjective);
218 flowObjectiveStore.putNextGroup(nextObjective.id(), 218 flowObjectiveStore.putNextGroup(nextObjective.id(),
219 new SingleGroup(new DefaultGroupKey(appKryo.serialize(nextObjective.id())))); 219 new SingleGroup(new DefaultGroupKey(appKryo.serialize(nextObjective.id()))));
220 + nextObjective.context().ifPresent(context -> context.onSuccess(nextObjective));
220 } 221 }
221 222
222 @Override 223 @Override
......