Interface BgpNeighborErrorHandlingConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpNeighborErrorHandlingConfig
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn treatAsWithdraw, ornull
if it is not present.default @NonNull Boolean
Return treatAsWithdraw, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getTreatAsWithdraw
Boolean getTreatAsWithdraw()Return treatAsWithdraw, ornull
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, ornull
if it is not present.
-
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
-