SMR parent prefix
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / mapcache / ILispMapCache.java
index d3da56c445d700a74a90ece9ffcd891259d5c57f..af703e7a7bafde9bde62ec101e0ca62e16550e8d 100644 (file)
@@ -88,4 +88,13 @@ public interface ILispMapCache extends IMapCache {
      *            List of xTR-IDs that need to be removed
      */
     void removeXtrIdMappings(Eid key, List<XtrId> xtrIds);
+
+    /**
+     * Returns the parent prefix for given key.
+     *
+     * @param key
+     *            The key which parent is to be returned.
+     * @return The parent perfix of a specific key.
+     */
+    Eid getParentPrefix(Eid key);
 }