Interface MapRegisterCacheMetadata
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<MapRegisterCacheMetadata>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<MapRegisterCacheMetadataContainer>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface MapRegisterCacheMetadata extends org.opendaylight.yangtools.yang.binding.ChildOf<MapRegisterCacheMetadataContainer>, org.opendaylight.yangtools.yang.binding.Augmentable<MapRegisterCacheMetadata>
The Map-Register cache metadata is information for a mapping database about mapping update event, without the full Map-Register packet data. The metadata and the packet data together will form the Map-Register cache value.This class represents the following YANG schema fragment defined in module odl-lisp-proto
container map-register-cache-metadata { list eid-lisp-address { key eid-lisp-address-id; leaf eid-lisp-address-id { type string; } uses eid-container; } leaf xtr-id { type xtr-id; } leaf site-id { type site-id; } leaf timestamp { type int64; } leaf want-map-notify { type boolean; } leaf merge-enabled { type boolean; } }
The schema path to identify an instance is odl-lisp-proto/map-register-cache-metadata-container/map-register-cache-metadataTo create instances of this class use
MapRegisterCacheMetadataBuilder
.- See Also:
MapRegisterCacheMetadataBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.List<EidLispAddress>
getEidLispAddress()
List of EID-Prefixes from Map-Register message.@Nullable SiteId
getSiteId()
64 bit site identifier.@Nullable java.lang.Long
getTimestamp()
Milliseconds since January 1, 1970, 00:00:00 GMT@Nullable XtrId
getXtrId()
128 bit xTR identifier.default java.lang.Class<MapRegisterCacheMetadata>
implementedInterface()
@Nullable java.lang.Boolean
isMergeEnabled()
Value of 22th bit in map register message.@Nullable java.lang.Boolean
isWantMapNotify()
xTR askes for Map-Register acknowledgement in form of a Map-Notify control message.default @NonNull java.util.List<EidLispAddress>
nonnullEidLispAddress()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<MapRegisterCacheMetadata> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEidLispAddress
@Nullable java.util.List<EidLispAddress> getEidLispAddress()
List of EID-Prefixes from Map-Register message.- Returns:
java.util.List
eidLispAddress
, ornull
if not present
-
nonnullEidLispAddress
default @NonNull java.util.List<EidLispAddress> nonnullEidLispAddress()
- Returns:
java.util.List
eidLispAddress
, or an empty list if it is not present
-
getXtrId
@Nullable XtrId getXtrId()
128 bit xTR identifier.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.XtrId
xtrId
, ornull
if not present
-
getSiteId
@Nullable SiteId getSiteId()
64 bit site identifier.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.SiteId
siteId
, ornull
if not present
-
getTimestamp
@Nullable java.lang.Long getTimestamp()
Milliseconds since January 1, 1970, 00:00:00 GMT- Returns:
java.lang.Long
timestamp
, ornull
if not present
-
isWantMapNotify
@Nullable java.lang.Boolean isWantMapNotify()
xTR askes for Map-Register acknowledgement in form of a Map-Notify control message.- Returns:
java.lang.Boolean
wantMapNotify
, ornull
if not present
-
isMergeEnabled
@Nullable java.lang.Boolean isMergeEnabled()
Value of 22th bit in map register message.- Returns:
java.lang.Boolean
mergeEnabled
, ornull
if not present
-
-