commit | f672231654a4a775662137e8d3a297192f856f5e | [log] [tgz] |
---|---|---|
author | alessio <alessio.giorgetti@gmail.com> | Tue Feb 12 16:43:36 2019 +0100 |
committer | Andrea Campanella <andrea@opennetworking.org> | Wed Feb 13 13:56:53 2019 +0000 |
tree | 8aedd557cafc8ea2db937b7b974976ecaf79c5e4 | |
parent | 1e3ed8075dedfa21689cb245fce869e4fd71e894 [diff] [blame] |
fixing OpticalIntentUtility for support of intents from client port to client port Change-Id: I7505abf249e8ece5643c7f7ddac07d6e7107b277
diff --git a/apps/optical-rest/src/main/java/org/onosproject/net/optical/rest/OpticalIntentsWebResource.java b/apps/optical-rest/src/main/java/org/onosproject/net/optical/rest/OpticalIntentsWebResource.java index 2cb1143..4643d7b 100644 --- a/apps/optical-rest/src/main/java/org/onosproject/net/optical/rest/OpticalIntentsWebResource.java +++ b/apps/optical-rest/src/main/java/org/onosproject/net/optical/rest/OpticalIntentsWebResource.java
@@ -306,6 +306,8 @@ Link link = linkService.getLink(srcConnectPoint, dstConnectPoint); if (link == null) { + log.warn("Not existing link in the suggested path src {} dst {}", + srcConnectPoint, dstConnectPoint); throw new IllegalArgumentException("Not existing link in the suggested path"); }