All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
MappingRecord

@Generated("mdsal-binding-generator") public interface MappingRecordMetadata extends org.opendaylight.yangtools.binding.Grouping
This is a collection of fields which are not present in the actual mapping record defined in RFC 6830, but are used internally in OpenDaylight

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

 grouping mapping-record-metadata {
   leaf xtr-id {
     type xtr-id;
   }
   leaf site-id {
     type site-id;
   }
   leaf source-rloc {
     type inet-bin:ip-address-binary;
   }
   leaf timestamp {
     type int64;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return siteId, or null if it is not present.
    Return sourceRloc, or null if it is not present.
    Return timestamp, or null if it is not present.
    Return xtrId, or null if it is not present.
    default @NonNull SiteId
    Return siteId, guaranteed to be non-null.
    default @NonNull IpAddressBinary
    Return sourceRloc, guaranteed to be non-null.
    default @NonNull Long
    Return timestamp, guaranteed to be non-null.
    default @NonNull XtrId
    Return xtrId, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getXtrId

      XtrId getXtrId()
      Return xtrId, or null if it is not present.
           
               128 bit xTR identifier.
           
       
      Returns:
      XtrId xtrId, or null if it is not present.
    • requireXtrId

      default @NonNull XtrId requireXtrId()
      Return xtrId, guaranteed to be non-null.
           
               128 bit xTR identifier.
           
       
      Returns:
      XtrId xtrId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if xtrId is not present
    • getSiteId

      SiteId getSiteId()
      Return siteId, or null if it is not present.
           
               64 bit site identifier.
           
       
      Returns:
      SiteId siteId, or null if it is not present.
    • requireSiteId

      default @NonNull SiteId requireSiteId()
      Return siteId, guaranteed to be non-null.
           
               64 bit site identifier.
           
       
      Returns:
      SiteId siteId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if siteId is not present
    • getSourceRloc

      IpAddressBinary getSourceRloc()
      Return sourceRloc, or null if it is not present.
           
               The Source IP address used for sending the enclosing control packet in RLOC
               space.
           
       
      Returns:
      IpAddressBinary sourceRloc, or null if it is not present.
    • requireSourceRloc

      default @NonNull IpAddressBinary requireSourceRloc()
      Return sourceRloc, guaranteed to be non-null.
           
               The Source IP address used for sending the enclosing control packet in RLOC
               space.
           
       
      Returns:
      IpAddressBinary sourceRloc, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if sourceRloc is not present
    • getTimestamp

      Long getTimestamp()
      Return timestamp, or null if it is not present.
           
               Milliseconds since January 1, 1970, 00:00:00 GMT
           
       
      Returns:
      Long timestamp, or null if it is not present.
    • requireTimestamp

      default @NonNull Long requireTimestamp()
      Return timestamp, guaranteed to be non-null.
           
               Milliseconds since January 1, 1970, 00:00:00 GMT
           
       
      Returns:
      Long timestamp, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if timestamp is not present