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, EroFlags
All Known Subinterfaces:
UnnumberedInterfaceIdBackupEro, UnnumberedInterfaceIdEro

@Generated("mdsal-binding-generator") public interface EroUnnumbered extends org.opendaylight.yangtools.yang.binding.DataObject, EroFlags

This class represents the following YANG schema fragment defined in module bgp-segment-routing

 grouping ero-unnumbered {
   uses ero-flags;
   leaf router-id {
     type uint32;
   }
   leaf interface-id {
     type uint32;
   }
 }
 
  • 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
    org.opendaylight.yangtools.yang.common.Uint32
    Return interfaceId, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return routerId, or null if it is not present.
    Class<? extends EroUnnumbered>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return interfaceId, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return routerId, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120.EroFlags

    getLoose, requireLoose
  • 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 EroUnnumbered> 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
      Specified by:
      implementedInterface in interface EroFlags
    • getRouterId

      org.opendaylight.yangtools.yang.common.Uint32 getRouterId()
      Return routerId, or null if it is not present.
      Returns:
      Uint32 routerId, or null if it is not present.
    • requireRouterId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRouterId()
      Return routerId, guaranteed to be non-null.
      Returns:
      Uint32 routerId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if routerId is not present
    • getInterfaceId

      org.opendaylight.yangtools.yang.common.Uint32 getInterfaceId()
      Return interfaceId, or null if it is not present.
      Returns:
      Uint32 interfaceId, or null if it is not present.
    • requireInterfaceId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInterfaceId()
      Return interfaceId, guaranteed to be non-null.
      Returns:
      Uint32 interfaceId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if interfaceId is not present