Use VERSATILE for flow objectives from paths

Currently the default pipeliner does not support SELECTIVE mode

Change-Id: I6647f9645f200888bb5c59e4134c6967a3f776dd
This commit is contained in:
Ray Milkey 2016-03-02 09:11:52 -08:00 committed by Gerrit Code Review
parent c3d2f8b89e
commit 0a9ad9a3bc

View File

@ -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());
}