adding Get by IntentId to LinkResourceService

Change-Id: Ic27daef6e3e55a7d2301f8009432d6c216e1523d
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
index 1ea5723..973fa97 100644
--- a/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
+++ b/core/api/src/main/java/org/onlab/onos/net/resource/LinkResourceService.java
@@ -30,6 +30,8 @@
      */
     Iterable<LinkResourceAllocations> getAllocations();
 
+    LinkResourceAllocations getAllocation(IntentId intentId);
+
     /**
      * Returns all allocated resources to given link.
      *
diff --git a/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java b/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
index cb14abc..7d4da02 100644
--- a/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
+++ b/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
@@ -48,6 +48,12 @@
     }
 
     @Override
+    public LinkResourceAllocations getAllocation(IntentId intentId) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
     public Iterable<LinkResourceAllocations> getAllocations(Link link) {
         // TODO Auto-generated method stub
         return null;