Brian O'Connor
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
......@@ -80,7 +80,7 @@ public class PathIntentCompiler implements IntentCompiler<PathIntent> {
rules.add(rule);
}
return Arrays.asList(new FlowRuleIntent(appId, rules));
return Arrays.asList(new FlowRuleIntent(appId, null, rules, intent.resources()));
}
private FlowRule createFlowRule(TrafficSelector originalSelector, TrafficTreatment originalTreatment,
......