Remove deprecated non-filtered ingress and egress connect point APIs
Change-Id: Ie360dfc2288b27587ffcdb23bc29f266df1a8d73
diff --git a/core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java b/core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java
index b79328b..99b5e69 100644
--- a/core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java
+++ b/core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java
@@ -78,8 +78,8 @@
.selector(selector)
.treatment(treatment)
.links(links1)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.resourceGroup(resourceGroup)
.build();
@@ -91,8 +91,8 @@
.selector(selector)
.treatment(treatment)
.links(links2)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.resourceGroup(resourceGroup)
.build();
@@ -115,8 +115,8 @@
.selector(selector)
.treatment(treatment)
.links(links1)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.resourceGroup(resourceGroup)
.build();
@@ -149,8 +149,8 @@
.selector(selector)
.treatment(treatment)
.links(links1)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.constraints(constraints)
.priority(8888)
.build();
@@ -231,8 +231,8 @@
.selector(selector)
.treatment(treatment)
.links(links1)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.build();
}
@@ -245,8 +245,8 @@
.selector(selector)
.treatment(treatment)
.links(links2)
- .ingressPoints(ImmutableSet.of(ingress))
- .egressPoints(ImmutableSet.of(egress))
+ .filteredIngressPoints(ImmutableSet.of(new FilteredConnectPoint(ingress)))
+ .filteredEgressPoints(ImmutableSet.of(new FilteredConnectPoint(egress)))
.build();
}