Interface BgpGracefulRestart
- 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:
BgpGlobalBase
,BgpNeighborGroup
,Global
,Neighbor
,PeerGroup
@Generated("mdsal-binding-generator")
public interface BgpGracefulRestart
extends org.opendaylight.yangtools.yang.binding.DataObject
Configures BGP graceful restart, which is a negotiated option that indicates
that a BGP speaker is able to retain forwarding state when a BGP session
restarts
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-graceful-restart { container graceful-restart { container config { uses bgp-neighbor-graceful-restart_config; } container state { config false; uses bgp-neighbor-graceful-restart_config; } } }
-
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 gracefulRestart, ornull
if it is not present.Class<? extends BgpGracefulRestart>
@NonNull GracefulRestart
Return gracefulRestart, or an empty instance if it is not present.
-
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 BgpGracefulRestart> 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
-
getGracefulRestart
GracefulRestart getGracefulRestart()Return gracefulRestart, ornull
if it is not present.Parameters relating the graceful restart mechanism for BGP
- Returns:
GracefulRestart
gracefulRestart, ornull
if it is not present.
-
nonnullGracefulRestart
@NonNull GracefulRestart nonnullGracefulRestart()Return gracefulRestart, or an empty instance if it is not present.- Returns:
GracefulRestart
gracefulRestart, or an empty instance if it is not present.
-