Committed by
Brian O'Connor
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 (cherry picked from commit ce7db1b6)
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or login to post a comment