Interface BgpNeighborErrorHandlingConfig
-
- All Superinterfaces:
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 BGPThis 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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getTreatAsWithdraw()
Return treatAsWithdraw, ornull
if it is not present.Class<? extends BgpNeighborErrorHandlingConfig>
implementedInterface()
default @NonNull Boolean
requireTreatAsWithdraw()
Return treatAsWithdraw, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborErrorHandlingConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
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
-
-