From 0a9ad9a3bc47bf34bb40a602b932c60ba66bc52c Mon Sep 17 00:00:00 2001 From: Ray Milkey Date: Wed, 2 Mar 2016 09:11:52 -0800 Subject: [PATCH] Use VERSATILE for flow objectives from paths Currently the default pipeliner does not support SELECTIVE mode Change-Id: I6647f9645f200888bb5c59e4134c6967a3f776dd --- .../intent/impl/compiler/PathIntentFlowObjectiveCompiler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentFlowObjectiveCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentFlowObjectiveCompiler.java index d1ab1cf842..6a95fd3e0a 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentFlowObjectiveCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentFlowObjectiveCompiler.java @@ -122,7 +122,9 @@ public class PathIntentFlowObjectiveCompiler .withPriority(priority) .fromApp(appId) .makePermanent() - .withFlag(ForwardingObjective.Flag.SPECIFIC) + // FIXME - reevaluate how to set this flag. + // Must be VERSATILE now because default pipeline only supports VERSATILE + .withFlag(ForwardingObjective.Flag.VERSATILE) .add()); devices.add(ingress.deviceId()); }