Interface BGPLlGracelfulRestartState
-
- All Superinterfaces:
BGPGracelfulRestartState
- All Known Subinterfaces:
BGPAfiSafiState
- All Known Implementing Classes:
ApplicationPeer
,BGPPeer
,BGPPeerStateImpl
@NonNullByDefault public interface BGPLlGracelfulRestartState extends BGPGracelfulRestartState
BGP Operational Graceful Restart State.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLlGracefulRestartTimer(TablesKey tablesKey)
If table is both advertised and received return timer with lower value.boolean
isLlGracefulRestartAdvertised(TablesKey tablesKey)
is Long-lived Graceful Restart Support advertised to neighbor.boolean
isLlGracefulRestartReceived(TablesKey tablesKey)
is Long-lived Graceful Restart Support advertised by neighbor.-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.spi.state.BGPGracelfulRestartState
getMode, getPeerRestartTime, isGracefulRestartAdvertized, isGracefulRestartReceived, isLocalRestarting, isPeerRestarting
-
-
-
-
Method Detail
-
isLlGracefulRestartAdvertised
boolean isLlGracefulRestartAdvertised(TablesKey tablesKey)
is Long-lived Graceful Restart Support advertised to neighbor.- Parameters:
tablesKey
- tables Key- Returns:
- true if Afi Safi was advertised to neighbor
-
isLlGracefulRestartReceived
boolean isLlGracefulRestartReceived(TablesKey tablesKey)
is Long-lived Graceful Restart Support advertised by neighbor.- Parameters:
tablesKey
- tables Key- Returns:
- true if Afi Safi was advertised by neighbor
-
getLlGracefulRestartTimer
int getLlGracefulRestartTimer(TablesKey tablesKey)
If table is both advertised and received return timer with lower value. If table is not advertised or received return zero.- Parameters:
tablesKey
- tables key- Returns:
- effective value of timer in seconds
-
-