Interface BGPGracelfulRestartState
- 
- All Known Subinterfaces:
- BGPAfiSafiState,- BGPLlGracelfulRestartState
 - All Known Implementing Classes:
- ApplicationPeer,- BGPPeer,- BGPPeerStateImpl
 
 @NonNullByDefault public interface BGPGracelfulRestartStateBGP Operational Graceful Restart State.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BgpAfiSafiGracefulRestartState.ModegetMode()Returns operational mode of graceful restart.intgetPeerRestartTime()The period of time (advertised by the peer) that the peer expects a restart of a BGP session to take.booleanisGracefulRestartAdvertized(TablesKey tablesKey)is Graceful Restart Supported advertized to neighbor.booleanisGracefulRestartReceived(TablesKey tablesKey)is Graceful Restart Supported advertized by neighbor.booleanisLocalRestarting()This flag indicates whether the local neighbor is currently restarting.booleanisPeerRestarting()This flag indicates whether the remote neighbor is currently in the process of restarting, and hence received routes are currently stale.
 
- 
- 
- 
Method Detail- 
isGracefulRestartAdvertizedboolean isGracefulRestartAdvertized(TablesKey tablesKey) is Graceful Restart Supported advertized to neighbor.- Parameters:
- tablesKey- tables Key
- Returns:
- true if Afi Safi was advertized to neighbor
 
 - 
isGracefulRestartReceivedboolean isGracefulRestartReceived(TablesKey tablesKey) is Graceful Restart Supported advertized by neighbor.- Parameters:
- tablesKey- tables Key
- Returns:
- true if Afi Safi was advertized by neighbor
 
 - 
isLocalRestartingboolean isLocalRestarting() This flag indicates whether the local neighbor is currently restarting.- Returns:
- local restarting state
 
 - 
getPeerRestartTimeint getPeerRestartTime() The period of time (advertised by the peer) that the peer expects a restart of a BGP session to take.- Returns:
- time
 
 - 
isPeerRestartingboolean isPeerRestarting() This flag indicates whether the remote neighbor is currently in the process of restarting, and hence received routes are currently stale.- Returns:
- peer is restarting
 
 - 
getModeBgpAfiSafiGracefulRestartState.Mode getMode() Returns operational mode of graceful restart. Result depends on advertising and receiving graceful restart capability to/from peer.- Returns:
- graceful restart operational mode
 
 
- 
 
-