Sho SHIMIZU
Committed by Gerrit Code Review

Inherits the constraints of the higher level intent

Fix ONOS-1247

Change-Id: I8a110bd3cee296f726a63fd1034b5a8f7dc7f0b3
......@@ -107,6 +107,7 @@ public class MultiPointToSinglePointIntentCompiler
.ingressPoints(intent.ingressPoints())
.egressPoints(ImmutableSet.of(intent.egressPoint()))
.priority(intent.priority())
.constraints(intent.constraints())
.build();
return Arrays.asList(result);
......
......@@ -74,6 +74,7 @@ public class SinglePointToMultiPointIntentCompiler
.ingressPoints(ImmutableSet.of(intent.ingressPoint()))
.egressPoints(intent.egressPoints())
.priority(intent.priority())
.constraints(intent.constraints())
.build();
return Arrays.asList(result);
......