commit | 0a9ad9a3bc47bf34bb40a602b932c60ba66bc52c | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Wed Mar 02 09:11:52 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Mar 02 18:21:23 2016 +0000 |
tree | 40959ebe47b29bb18adcfb4043944d675f2cf4fb | |
parent | c3d2f8b89e206ac618689fc9d3a6c29994ab8058 [diff] |
Use VERSATILE for flow objectives from paths Currently the default pipeliner does not support SELECTIVE mode Change-Id: I6647f9645f200888bb5c59e4134c6967a3f776dd
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 d1ab1cf..6a95fd3 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 @@ .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()); }