Class AuthKeyDb

  • All Implemented Interfaces:
    org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb

    public class AuthKeyDb
    extends Object
    implements org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb
    Simple in-memory database for authentication keys, that works with 'simple' addresses (see lisp-proto.yang). It can do longest prefix matching for IP addresses.
    Author:
    Lorand Jakab
    • Constructor Detail

      • AuthKeyDb

        public AuthKeyDb​(org.opendaylight.lispflowmapping.interfaces.dao.ILispDAO dao)
    • Method Detail

      • addAuthenticationKey

        public void addAuthenticationKey​(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid eid,
                                         org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.mapping.authkey.container.MappingAuthkey authKey)
        Specified by:
        addAuthenticationKey in interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb
      • getAuthenticationKey

        public 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 eid)
        Specified by:
        getAuthenticationKey in interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb
      • removeAuthenticationKey

        public void removeAuthenticationKey​(org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.eid.container.Eid eid)
        Specified by:
        removeAuthenticationKey in interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb
      • printKeys

        public String printKeys()
        Specified by:
        printKeys in interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb
      • prettyPrintKeys

        public String prettyPrintKeys()
        Specified by:
        prettyPrintKeys in interface org.opendaylight.lispflowmapping.interfaces.mapcache.IAuthKeyDb