Interface MapRegisterCacheKey

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MapRegisterCacheKey>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MapRegisterCacheKeyContainer>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MapRegisterCacheKey
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MapRegisterCacheKeyContainer>, org.opendaylight.yangtools.yang.binding.Augmentable<MapRegisterCacheKey>
    The lookup key in the Map-Register fast path.

    This class represents the following YANG schema fragment defined in module odl-lisp-proto

     container map-register-cache-key {
       leaf eid-prefix {
         type binary;
       }
       leaf xtr-id {
         type binary;
       }
       leaf site-id {
         type binary;
       }
     }
     
    The schema path to identify an instance is odl-lisp-proto/map-register-cache-key-container/map-register-cache-key

    To create instances of this class use MapRegisterCacheKeyBuilder.

    See Also:
    MapRegisterCacheKeyBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<MapRegisterCacheKey> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getEidPrefix

        byte[] getEidPrefix()
        The EID prefix stored as binary data
        Returns:
        byte[] eidPrefix, or null if not present
      • getXtrId

        byte[] getXtrId()
        128 bit xTR identifier.
        Returns:
        byte[] xtrId, or null if not present
      • getSiteId

        byte[] getSiteId()
        64 bit site identifier.
        Returns:
        byte[] siteId, or null if not present