commit | 652f27f0fe833d084f0cdfbaf38fba696796f968 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Oct 31 16:54:30 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Nov 21 21:37:09 2016 +0000 |
tree | f78c342227e0065205cc11cb1760ed141e62cc5f | |
parent | 6e5f47043115eaf2ecc31e079b33c4fe3e76a433 [diff] [blame] |
Inherit Intent Key on compilation - Added Intent#key() method description - Inherit key field from parent Intent during Intent compilation process - Added assertion to existing unit tests Change-Id: Iff85c5ec448b3f378957b7a20af865ad96cc3216
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java index f9b236f..cac5d68 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/MultiPointToSinglePointIntentCompiler.java
@@ -119,6 +119,7 @@ Intent result = LinkCollectionIntent.builder() .appId(intent.appId()) + .key(intent.key()) .treatment(intent.treatment()) .selector(intent.selector()) .links(Sets.newHashSet(links.values()))