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