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
@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 Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn treatAsWithdraw, ornull
if it is not present.Class<? extends BgpNeighborErrorHandlingConfig>
default @NonNull Boolean
Return treatAsWithdraw, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpNeighborErrorHandlingConfig> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
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
-