Interface BgpNeighborAfiSafiGracefulRestartState

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

@Generated("mdsal-binding-generator") public interface BgpNeighborAfiSafiGracefulRestartState extends org.opendaylight.yangtools.yang.binding.DataObject
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;
   }
 }
 
  • 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 BgpNeighborAfiSafiGracefulRestartState> 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
    • 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