Interface IAuthKeyDb
-
public interface IAuthKeyDbAuthentication key database interface.- Author:
- Lorand Jakab
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key, org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.mapping.authkey.container.MappingAuthkey authKey)Add authentication key.org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.mapping.authkey.container.MappingAuthkeygetAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)Retrieve authentication key.StringprettyPrintKeys()Print keys in cache in a human friendly format.StringprintKeys()Print authentication keys in database.voidremoveAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)Remove authentication key.
-
-
-
Method Detail
-
addAuthenticationKey
void addAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key, org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.mapping.authkey.container.MappingAuthkey authKey)Add authentication key.- Parameters:
key- The key for which the authentication key is addedauthKey- The authentication key
-
getAuthenticationKey
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.mapping.authkey.container.MappingAuthkey getAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
Retrieve authentication key.- Parameters:
key- The key for which the authentication key is being looked up.- Returns:
- The authentication key.
-
removeAuthenticationKey
void removeAuthenticationKey(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid key)
Remove authentication key.- Parameters:
key- Key for which the authentication key should be removed.
-
printKeys
String printKeys()
Print authentication keys in database. Used for testing, debugging and the karaf shell.- Returns:
- a String consisting of all the authentication keys in the database
-
prettyPrintKeys
String prettyPrintKeys()
Print keys in cache in a human friendly format.- Returns:
- a String consisting of all the keys in the cache
-
-