Committed by
Gerrit Code Review
Inherits the constraints of the higher level intent
Fix ONOS-1247 Change-Id: I8a110bd3cee296f726a63fd1034b5a8f7dc7f0b3
Showing
2 changed files
with
2 additions
and
0 deletions
... | @@ -107,6 +107,7 @@ public class MultiPointToSinglePointIntentCompiler | ... | @@ -107,6 +107,7 @@ public class MultiPointToSinglePointIntentCompiler |
107 | .ingressPoints(intent.ingressPoints()) | 107 | .ingressPoints(intent.ingressPoints()) |
108 | .egressPoints(ImmutableSet.of(intent.egressPoint())) | 108 | .egressPoints(ImmutableSet.of(intent.egressPoint())) |
109 | .priority(intent.priority()) | 109 | .priority(intent.priority()) |
110 | + .constraints(intent.constraints()) | ||
110 | .build(); | 111 | .build(); |
111 | 112 | ||
112 | return Arrays.asList(result); | 113 | return Arrays.asList(result); | ... | ... |
... | @@ -74,6 +74,7 @@ public class SinglePointToMultiPointIntentCompiler | ... | @@ -74,6 +74,7 @@ public class SinglePointToMultiPointIntentCompiler |
74 | .ingressPoints(ImmutableSet.of(intent.ingressPoint())) | 74 | .ingressPoints(ImmutableSet.of(intent.ingressPoint())) |
75 | .egressPoints(intent.egressPoints()) | 75 | .egressPoints(intent.egressPoints()) |
76 | .priority(intent.priority()) | 76 | .priority(intent.priority()) |
77 | + .constraints(intent.constraints()) | ||
77 | .build(); | 78 | .build(); |
78 | 79 | ||
79 | return Arrays.asList(result); | 80 | return Arrays.asList(result); | ... | ... |
-
Please register or login to post a comment