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:
BgpGlobalBase, BgpNeighborGroup, Global, Neighbor, PeerGroup

@Generated("mdsal-binding-generator") public interface BgpGracefulRestart extends org.opendaylight.yangtools.yang.binding.DataObject
Configures BGP graceful restart, which is a negotiated option that indicates that a BGP speaker is able to retain forwarding state when a BGP session restarts

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

 grouping bgp-graceful-restart {
   container graceful-restart {
     container config {
       uses bgp-neighbor-graceful-restart_config;
     }
     container state {
       config false;
       uses bgp-neighbor-graceful-restart_config;
     }
   }
 }
 
  • 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 BgpGracefulRestart> 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
    • getGracefulRestart

      GracefulRestart getGracefulRestart()
      Return gracefulRestart, or null if it is not present.
           
               Parameters relating the graceful restart mechanism for BGP
           
       
      Returns:
      GracefulRestart gracefulRestart, or null if it is not present.
    • nonnullGracefulRestart

      @NonNull GracefulRestart nonnullGracefulRestart()
      Return gracefulRestart, or an empty instance if it is not present.
      Returns:
      GracefulRestart gracefulRestart, or an empty instance if it is not present.