Interface BgpNeighborGracefulRestartConfig

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

@Generated("mdsal-binding-generator") public interface BgpNeighborGracefulRestartConfig extends org.opendaylight.yangtools.binding.Grouping
Configuration parameters relating to BGP graceful restart.

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

 grouping bgp-neighbor-graceful-restart_config {
   leaf enabled {
     type boolean;
   }
   leaf restart-time {
     type uint16 {
       range 0..4096;
     }
   }
   leaf stale-routes-time {
     type decimal64 {
       fraction-digits 2;
     }
   }
   leaf helper-only {
     type boolean;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return enabled, or null if it is not present.
    Return helperOnly, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return restartTime, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Decimal64
    Return staleRoutesTime, or null if it is not present.
    default @NonNull Boolean
    Return enabled, guaranteed to be non-null.
    default @NonNull Boolean
    Return helperOnly, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return restartTime, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Decimal64
    Return staleRoutesTime, guaranteed to be non-null.

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

    implementedInterface
  • Method Details

    • getEnabled

      Boolean getEnabled()
      Return enabled, or null if it is not present.
           
               Enable or disable the graceful-restart capability.
           
       
      Returns:
      Boolean enabled, or null if it is not present.
    • requireEnabled

      default @NonNull Boolean requireEnabled()
      Return enabled, guaranteed to be non-null.
           
               Enable or disable the graceful-restart capability.
           
       
      Returns:
      Boolean enabled, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enabled is not present
    • getRestartTime

      org.opendaylight.yangtools.yang.common.Uint16 getRestartTime()
      Return restartTime, or null if it is not present.
           
               Estimated time (in seconds) for the local BGP speaker to restart a session. This
               value is advertise in the graceful restart BGP capability. This is a 12-bit
               value, referred to as Restart Time in RFC4724. Per RFC4724, the suggested
               default value is &lt;= the hold-time value.
           
       
      Returns:
      Uint16 restartTime, or null if it is not present.
    • requireRestartTime

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireRestartTime()
      Return restartTime, guaranteed to be non-null.
           
               Estimated time (in seconds) for the local BGP speaker to restart a session. This
               value is advertise in the graceful restart BGP capability. This is a 12-bit
               value, referred to as Restart Time in RFC4724. Per RFC4724, the suggested
               default value is &lt;= the hold-time value.
           
       
      Returns:
      Uint16 restartTime, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if restartTime is not present
    • getStaleRoutesTime

      org.opendaylight.yangtools.yang.common.Decimal64 getStaleRoutesTime()
      Return staleRoutesTime, or null if it is not present.
           
               An upper-bound on the time thate stale routes will be retained by a router after
               a session is restarted. If an End-of-RIB (EOR) marker is received prior to this
               timer expiring stale-routes will be flushed upon its receipt - if no EOR is
               received, then when this timer expires stale paths will be purged. This timer is
               referred to as the Selection_Deferral_Timer in RFC4724
           
       
      Returns:
      Decimal64 staleRoutesTime, or null if it is not present.
    • requireStaleRoutesTime

      default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireStaleRoutesTime()
      Return staleRoutesTime, guaranteed to be non-null.
           
               An upper-bound on the time thate stale routes will be retained by a router after
               a session is restarted. If an End-of-RIB (EOR) marker is received prior to this
               timer expiring stale-routes will be flushed upon its receipt - if no EOR is
               received, then when this timer expires stale paths will be purged. This timer is
               referred to as the Selection_Deferral_Timer in RFC4724
           
       
      Returns:
      Decimal64 staleRoutesTime, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if staleRoutesTime is not present
    • getHelperOnly

      Boolean getHelperOnly()
      Return helperOnly, or null if it is not present.
           
               Enable graceful-restart in helper mode only. When this leaf is set, the local
               system does not retain forwarding its own state during a restart, but supports
               procedures for the receiving speaker, as defined in RFC4724.
           
       
      Returns:
      Boolean helperOnly, or null if it is not present.
    • requireHelperOnly

      default @NonNull Boolean requireHelperOnly()
      Return helperOnly, guaranteed to be non-null.
           
               Enable graceful-restart in helper mode only. When this leaf is set, the local
               system does not retain forwarding its own state during a restart, but supports
               procedures for the receiving speaker, as defined in RFC4724.
           
       
      Returns:
      Boolean helperOnly, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if helperOnly is not present