Update DAO API
[lispflowmapping.git] / mappingservice / implementation / src / main / java / org / opendaylight / lispflowmapping / implementation / mdsal / AuthenticationKeyDataListener.java
index e4f11d979e9a44f8832370cc70aa6153ddbba4e6..0fe2dac64632e18eab43695fc72057e660253d1e 100644 (file)
@@ -54,8 +54,7 @@ public class AuthenticationKeyDataListener extends AbstractDataListener {
                 LOG.trace("Key: {}", entry.getKey());
                 LOG.trace("Value: {}", authkey);
 
-                msmr.addAuthenticationKey(authkey.getLispAddressContainer(),
-                        authkey.getMaskLength(), authkey.getAuthkey());
+                msmr.addAuthenticationKey(authkey.getLispAddressContainer(), authkey.getAuthkey());
             }
         }
 
@@ -69,8 +68,7 @@ public class AuthenticationKeyDataListener extends AbstractDataListener {
                 LOG.trace("Key: {}", entry.getKey());
                 LOG.trace("Value: {}", authkey);
 
-                msmr.addAuthenticationKey(authkey.getLispAddressContainer(),
-                        authkey.getMaskLength(), authkey.getAuthkey());
+                msmr.addAuthenticationKey(authkey.getLispAddressContainer(), authkey.getAuthkey());
             }
         }
 
@@ -85,7 +83,7 @@ public class AuthenticationKeyDataListener extends AbstractDataListener {
                 LOG.trace("Key: {}", entry);
                 LOG.trace("Value: {}", authkey);
 
-                msmr.removeAuthenticationKey(authkey.getLispAddressContainer(), authkey.getMaskLength());
+                msmr.removeAuthenticationKey(authkey.getLispAddressContainer());
             }
         }
     }