Interface BgpNeighborErrorHandlingConfig

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 BgpNeighborErrorHandlingConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to enhanced error handling behaviours for BGP

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

 grouping bgp-neighbor-error-handling_config {
   leaf treat-as-withdraw {
     type boolean;
     default false;
   }
 }
 
  • 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 BgpNeighborErrorHandlingConfig> 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
    • getTreatAsWithdraw

      Boolean getTreatAsWithdraw()
      Return treatAsWithdraw, or null if it is not present.
           
               Specify whether erroneous UPDATE messages for which the NLRI can be extracted
               are treated as though the NLRI is withdrawn - avoiding session reset
           
       
      Returns:
      Boolean treatAsWithdraw, or null if it is not present.
    • requireTreatAsWithdraw

      default @NonNull Boolean requireTreatAsWithdraw()
      Return treatAsWithdraw, guaranteed to be non-null.
           
               Specify whether erroneous UPDATE messages for which the NLRI can be extracted
               are treated as though the NLRI is withdrawn - avoiding session reset
           
       
      Returns:
      Boolean treatAsWithdraw, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if treatAsWithdraw is not present