SMR parent prefix
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / mapcache / IMappingSystem.java
index caf877203993c510d668f29760fe7dc29a899b7e..b617efe3321de8171b1f522404f852438ca8351c 100644 (file)
@@ -178,6 +178,15 @@ public interface IMappingSystem {
      */
     void removeData(MappingOrigin origin, Eid key, String subKey);
 
+    /**
+     * 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);
+
     /**
      * Sets iterateMask. If set to true, longest prefix matching for IP keys is used.
      *