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:
ResetSessionInput, RestartGracefullyInput, RouteRefreshRequestInput, RrMsgArgs

@Generated("mdsal-binding-generator") public interface PeerReference extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module bgp-peer-rpc

 grouping peer-reference {
   leaf peer-ref {
     type peer-ref;
     ext:context-reference peer-context;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return peerRef, or null if it is not present.
    default @NonNull PeerRef
    Return peerRef, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getPeerRef

      @RoutingContext(PeerContext.class) PeerRef getPeerRef()
      Return peerRef, or null if it is not present.
      Returns:
      PeerRef peerRef, or null if it is not present.
    • requirePeerRef

      default @NonNull PeerRef requirePeerRef()
      Return peerRef, guaranteed to be non-null.
      Returns:
      PeerRef peerRef, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if peerRef is not present