Pier Ventre

Adds the control for Encapsulation Constraint.

Change-Id: I98b09704d077d55ea0f65b15fb11da61e52851ac
......@@ -58,6 +58,7 @@ public final class IntentUtils {
return Objects.equals(intent1.selector(), intent2.selector()) &&
Objects.equals(intent1.treatment(), intent2.treatment()) &&
Objects.equals(intent1.constraints(), intent2.constraints()) &&
Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) &&
Objects.equals(intent1.egressPoints(), intent2.egressPoints());
} else if (one instanceof MultiPointToSinglePointIntent) {
......@@ -66,6 +67,7 @@ public final class IntentUtils {
return Objects.equals(intent1.selector(), intent2.selector()) &&
Objects.equals(intent1.treatment(), intent2.treatment()) &&
Objects.equals(intent1.constraints(), intent2.constraints()) &&
Objects.equals(intent1.ingressPoints(), intent2.ingressPoints()) &&
Objects.equals(intent1.egressPoint(), intent2.egressPoint());
} else if (one instanceof PointToPointIntent) {
......@@ -74,6 +76,7 @@ public final class IntentUtils {
return Objects.equals(intent1.selector(), intent2.selector()) &&
Objects.equals(intent1.treatment(), intent2.treatment()) &&
Objects.equals(intent1.constraints(), intent2.constraints()) &&
Objects.equals(intent1.ingressPoint(), intent2.ingressPoint()) &&
Objects.equals(intent1.egressPoint(), intent2.egressPoint());
} else {
......