Interface BgpNeighborAfiSafiGracefulRestartState

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:
NeighborAfiSafiGracefulRestartStateAugmentation, State2

@Generated("mdsal-binding-generator") public interface BgpNeighborAfiSafiGracefulRestartState extends org.opendaylight.yangtools.binding.Grouping
Operational state variables relating to the graceful-restart mechanism on a per-AFI-SAFI basis

This class represents the following YANG schema fragment defined in module openconfig-bgp-operational

 grouping bgp-neighbor-afi-safi-graceful-restart_state {
   leaf received {
     type boolean;
   }
   leaf advertised {
     type boolean;
   }
 }
 
  • Method Summary

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

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

    implementedInterface
  • Method Details

    • getReceived

      Boolean getReceived()
      Return received, or null if it is not present.
           
               This leaf indicates whether the neighbor advertised the ability to support
               graceful-restart for this AFI-SAFI
           
       
      Returns:
      Boolean received, or null if it is not present.
    • requireReceived

      default @NonNull Boolean requireReceived()
      Return received, guaranteed to be non-null.
           
               This leaf indicates whether the neighbor advertised the ability to support
               graceful-restart for this AFI-SAFI
           
       
      Returns:
      Boolean received, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if received is not present
    • getAdvertised

      Boolean getAdvertised()
      Return advertised, or null if it is not present.
           
               This leaf indicates whether the ability to support graceful-restart has been
               advertised to the peer
           
       
      Returns:
      Boolean advertised, or null if it is not present.
    • requireAdvertised

      default @NonNull Boolean requireAdvertised()
      Return advertised, guaranteed to be non-null.
           
               This leaf indicates whether the ability to support graceful-restart has been
               advertised to the peer
           
       
      Returns:
      Boolean advertised, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if advertised is not present