Committed by
Gerrit Code Review
Use VERSATILE for flow objectives from paths
Currently the default pipeliner does not support SELECTIVE mode Change-Id: I6647f9645f200888bb5c59e4134c6967a3f776dd
Showing
1 changed file
with
3 additions
and
1 deletions
core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentFlowObjectiveCompiler.java
| ... | @@ -122,7 +122,9 @@ public class PathIntentFlowObjectiveCompiler | ... | @@ -122,7 +122,9 @@ public class PathIntentFlowObjectiveCompiler |
| 122 | .withPriority(priority) | 122 | .withPriority(priority) |
| 123 | .fromApp(appId) | 123 | .fromApp(appId) |
| 124 | .makePermanent() | 124 | .makePermanent() |
| 125 | - .withFlag(ForwardingObjective.Flag.SPECIFIC) | 125 | + // FIXME - reevaluate how to set this flag. |
| 126 | + // Must be VERSATILE now because default pipeline only supports VERSATILE | ||
| 127 | + .withFlag(ForwardingObjective.Flag.VERSATILE) | ||
| 126 | .add()); | 128 | .add()); |
| 127 | devices.add(ingress.deviceId()); | 129 | devices.add(ingress.deviceId()); |
| 128 | } | 130 | } | ... | ... |
-
Please register or login to post a comment