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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn treatAsWithdraw, ornullif it is not present.Class<? extends BgpNeighborErrorHandlingConfig>default @NonNull BooleanReturn 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTreatAsWithdraw
Boolean getTreatAsWithdraw()Return treatAsWithdraw, ornullif 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:
BooleantreatAsWithdraw, ornullif 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:
BooleantreatAsWithdraw, guaranteed to be non-null.- Throws:
NoSuchElementException- if treatAsWithdraw is not present
-