Interface AllAfiSafiCommonPrefixLimitConfig

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 AllAfiSafiCommonPrefixLimitConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to prefix-limits for an AFI-SAFI

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

 grouping all-afi-safi-common-prefix-limit_config {
   leaf max-prefixes {
     type uint32;
   }
   leaf shutdown-threshold-pct {
     type oc-types:percentage;
   }
   leaf restart-timer {
     type decimal64 {
       fraction-digits 2;
     }
     units seconds;
   }
 }
 
  • 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
    org.opendaylight.yangtools.yang.common.Uint32
    Return maxPrefixes, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Decimal64
    Return restartTimer, or null if it is not present.
    Return shutdownThresholdPct, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return maxPrefixes, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Decimal64
    Return restartTimer, guaranteed to be non-null.
    default @NonNull Percentage
    Return shutdownThresholdPct, 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 AllAfiSafiCommonPrefixLimitConfig> 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
    • getMaxPrefixes

      org.opendaylight.yangtools.yang.common.Uint32 getMaxPrefixes()
      Return maxPrefixes, or null if it is not present.
           
               Maximum number of prefixes that will be accepted from the neighbour
           
       
      Returns:
      Uint32 maxPrefixes, or null if it is not present.
    • requireMaxPrefixes

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMaxPrefixes()
      Return maxPrefixes, guaranteed to be non-null.
           
               Maximum number of prefixes that will be accepted from the neighbour
           
       
      Returns:
      Uint32 maxPrefixes, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maxPrefixes is not present
    • getShutdownThresholdPct

      Percentage getShutdownThresholdPct()
      Return shutdownThresholdPct, or null if it is not present.
           
               Threshold on number of prefixes that can be received from a neighbour before
               generation of warning messages or log entries. Expressed as a percentage of
               max-prefixes
           
       
      Returns:
      Percentage shutdownThresholdPct, or null if it is not present.
    • requireShutdownThresholdPct

      default @NonNull Percentage requireShutdownThresholdPct()
      Return shutdownThresholdPct, guaranteed to be non-null.
           
               Threshold on number of prefixes that can be received from a neighbour before
               generation of warning messages or log entries. Expressed as a percentage of
               max-prefixes
           
       
      Returns:
      Percentage shutdownThresholdPct, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if shutdownThresholdPct is not present
    • getRestartTimer

      org.opendaylight.yangtools.yang.common.Decimal64 getRestartTimer()
      Return restartTimer, or null if it is not present.
           
               Time interval in seconds after which the BGP session is re-established after
               being torn down due to exceeding the max-prefix limit.
           
       
      Returns:
      Decimal64 restartTimer, or null if it is not present.
    • requireRestartTimer

      default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireRestartTimer()
      Return restartTimer, guaranteed to be non-null.
           
               Time interval in seconds after which the BGP session is re-established after
               being torn down due to exceeding the max-prefix limit.
           
       
      Returns:
      Decimal64 restartTimer, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if restartTimer is not present