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:
Config, State

@Generated("mdsal-binding-generator") public interface BgpAfiSafiGracefulRestartConfig extends org.opendaylight.yangtools.yang.binding.DataObject
BGP graceful restart parameters that apply on a per-AFI-SAFI basis

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

 grouping bgp-afi-safi-graceful-restart_config {
   leaf enabled {
     type boolean;
     default false;
   }
 }
 
  • 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
    Return enabled, or null if it is not present.
     
    default @NonNull Boolean
    Return enabled, guaranteed to be non-null.
  • 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 BgpAfiSafiGracefulRestartConfig> 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
    • getEnabled

      Boolean getEnabled()
      Return enabled, or null if it is not present.
           
               This leaf indicates whether graceful-restart is enabled for this AFI-SAFI
           
       
      Returns:
      Boolean enabled, or null if it is not present.
    • requireEnabled

      default @NonNull Boolean requireEnabled()
      Return enabled, guaranteed to be non-null.
           
               This leaf indicates whether graceful-restart is enabled for this AFI-SAFI
           
       
      Returns:
      Boolean enabled, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enabled is not present