Committed by
Gerrit Code Review
Fixing intent reroute (ONOS-1403)
However, there is a race that can temporarily break data plane connectivity. The problem is described in ONOS-1404 Change-Id: I3df1948180b42fc7f4c2d072bd8c2b452dd07e61
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -80,7 +80,7 @@ public class PathIntentCompiler implements IntentCompiler<PathIntent> { | ... | @@ -80,7 +80,7 @@ public class PathIntentCompiler implements IntentCompiler<PathIntent> { |
80 | rules.add(rule); | 80 | rules.add(rule); |
81 | } | 81 | } |
82 | 82 | ||
83 | - return Arrays.asList(new FlowRuleIntent(appId, rules)); | 83 | + return Arrays.asList(new FlowRuleIntent(appId, null, rules, intent.resources())); |
84 | } | 84 | } |
85 | 85 | ||
86 | private FlowRule createFlowRule(TrafficSelector originalSelector, TrafficTreatment originalTreatment, | 86 | private FlowRule createFlowRule(TrafficSelector originalSelector, TrafficTreatment originalTreatment, | ... | ... |
-
Please register or login to post a comment