Class GracefulRestartUtil
java.lang.Object
org.opendaylight.protocol.bgp.parser.GracefulRestartUtil
Utility class for dealing with Graceful Restart.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull GracefulRestartCapability
GR capability advertizing inactive GR.static final @NonNull LlGracefulRestartCapability
LLGR capability advertizing no tables. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull CParameters
gracefulRestartCapability
(Map<TablesKey, Tables> tables, int restartTime, boolean localRestarting) static @NonNull Tables
gracefulRestartTable
(@NonNull TablesKey table, boolean forwardingState) static @NonNull Tables
gracefulRestartTable
(@NonNull AddressFamily afi, @NonNull SubsequentAddressFamily safi, boolean forwardingState)
-
Field Details
-
EMPTY_GR_CAPABILITY
GR capability advertizing inactive GR. -
EMPTY_LLGR_CAPABILITY
LLGR capability advertizing no tables.
-
-
Method Details
-
gracefulRestartTable
@Beta public static @NonNull Tables gracefulRestartTable(@NonNull AddressFamily afi, @NonNull SubsequentAddressFamily safi, boolean forwardingState) -
gracefulRestartTable
-
gracefulRestartCapability
@Beta public static @NonNull CParameters gracefulRestartCapability(Map<TablesKey, Tables> tables, int restartTime, boolean localRestarting)
-