Jonathan Hart

SDN-IP: restrict egress port from ingress port list of MP2SP intent.

The MP2SP intent doesn't support having the egress port in the in ingress
port list.

Change-Id: I84471b9fce9c1dc072f3dce3d907ba86ba65a575
......@@ -171,6 +171,7 @@ public class SdnIpFib {
// TODO this should be only peering interfaces
interfaceService.getInterfaces().stream()
.filter(intf -> !intf.equals(egressInterface))
.filter(intf -> !intf.connectPoint().equals(egressPort))
.forEach(intf -> {
ingressInterfaces.add(intf);
ConnectPoint ingressPort = intf.connectPoint();
......