All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
MapRequest, MapRequest, MapRequest

@Generated("mdsal-binding-generator") public interface MapRequestMetadata extends org.opendaylight.yangtools.yang.binding.DataObject
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 map-request-metadata {
   leaf source-rloc {
     type inet-bin:ip-address-binary;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return sourceRloc, or null if it is not present.
     
    default @NonNull IpAddressBinary
    Return sourceRloc, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends MapRequestMetadata> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • 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