commit | b1acd553fa91067155842f6267dd96a95152f18f | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@onlab.us> | Thu Jul 02 16:06:50 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jul 20 16:48:39 2015 +0000 |
tree | bc15b66696edc90a6bfc5bb82822cd02d77eb2ae | |
parent | 3dbf89d609afc12551106f91e91eba43cc267362 [diff] |
Tiny fix for bidirectional optical intents Change-Id: Ied5d67205ecf8ce8b08f78b073ad62488caf8b71 (cherry picked from commit e48f84eab45051a6499641eb86e0564e8b5a8c69)
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompiler.java index 61a2ac7..ca9ae5c 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalPathIntentCompiler.java
@@ -86,7 +86,7 @@ rules.addAll(createReverseRules(intent)); } - return Collections.singletonList(new FlowRuleIntent(appId, createRules(intent), intent.resources())); + return Collections.singletonList(new FlowRuleIntent(appId, rules, intent.resources())); } /**