Update DAO API
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / lisp / IGeneralMapServer.java
index 1d0d19ce297b4fb5cd7a61514a6de7bff4cc3b86..8f09081e36a20a03ae08386069c49b04ce9ee49f 100644 (file)
@@ -33,10 +33,9 @@ public interface IGeneralMapServer {
      * This method returns the authentication key of the address.
      *
      * @param address EID to look up
-     * @param maskLen EID mask length
      * @return The correct key.
      */
-    String getAuthenticationKey(LispAddressContainer address, int maskLen);
+    String getAuthenticationKey(LispAddressContainer address);
 
     void setShouldIterateMask(boolean shouldIterateMask);
 
@@ -48,16 +47,14 @@ public interface IGeneralMapServer {
      * This method removes the given authentication key from the map server.
      *
      * @param address EID to remove
-     * @param maskLen EID mask length
      */
-    void removeAuthenticationKey(LispAddressContainer address, int maskLen);
+    void removeAuthenticationKey(LispAddressContainer address);
 
     /**
      * This method adds an authentication key to the address.
      *
      * @param address EID to add
-     * @param maskLen EID mask length
      * @param key Value of the key for the EID
      */
-    void addAuthenticationKey(LispAddressContainer address, int maskLen, String key);
+    void addAuthenticationKey(LispAddressContainer address, String key);
 }