commit | a2cf3a15057108a3dcc720dc55bcc510be986130 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Feb 15 16:13:56 2018 -0800 |
committer | Thomas Vachuska <tom@opennetworking.org> | Fri Feb 16 17:25:04 2018 +0000 |
tree | 0d81c5b7e7aa46ed6997f291d39f6f6bd25c9ad0 | |
parent | c84e3f1bffa1e3ab00f6153252dae6c61d3a8fa2 [diff] [blame] |
Remove deprecated connect point APIs for point to point intents Change-Id: Ie7d29a9e6d54283d3a3310ed8b1e749a631031b1
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java index f694dee..35876d6 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
@@ -261,7 +261,7 @@ // remove associated group if there is one if (intent instanceof PointToPointIntent) { PointToPointIntent pointIntent = (PointToPointIntent) intent; - DeviceId deviceId = pointIntent.ingressPoint().deviceId(); + DeviceId deviceId = pointIntent.filteredIngressPoint().connectPoint().deviceId(); GroupKey groupKey = PointToPointIntentCompiler.makeGroupKey(intent.id()); groupService.removeGroup(deviceId, groupKey, intent.appId());