commit | 9ac147662f67c6c9fe0c5e7787d53fd358854e99 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Thu Mar 26 17:38:33 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Mar 27 01:33:33 2015 +0000 |
tree | c6e14bc82bffc4c3a54f74fa2205f92f32bb97f7 | |
parent | 0c6b2d38d587d9c0279c810190b29db304af68fe [diff] |
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
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java index 56515ec..d78d6af 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/PathIntentCompiler.java
@@ -80,7 +80,7 @@ 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,