Interface BgpGracefulRestart
- 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
- All Known Subinterfaces:
BgpGlobalBase,BgpNeighborGroup,Global,Neighbor,PeerGroup
@Generated("mdsal-binding-generator")
public interface BgpGracefulRestart
extends org.opendaylight.yangtools.binding.Grouping
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;
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn gracefulRestart, ornullif it is not present.@NonNull GracefulRestartReturn gracefulRestart, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getGracefulRestart
GracefulRestart getGracefulRestart()Return gracefulRestart, ornullif it is not present.Parameters relating the graceful restart mechanism for BGP- Returns:
GracefulRestartgracefulRestart, ornullif it is not present.
-
nonnullGracefulRestart
@NonNull GracefulRestart nonnullGracefulRestart()Return gracefulRestart, or an empty instance if it is not present.- Returns:
GracefulRestartgracefulRestart, or an empty instance if it is not present.
-