Interface BGPLlGracelfulRestartState
- All Superinterfaces:
BGPGracelfulRestartState
- All Known Subinterfaces:
BGPAfiSafiState
- All Known Implementing Classes:
ApplicationPeer
,BGPPeer
,BGPPeerStateImpl
BGP Operational Graceful Restart State.
-
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
isLlGracefulRestartAdvertised
is Long-lived Graceful Restart Support advertised to neighbor.- Parameters:
tablesKey
- tables Key- Returns:
- true if Afi Safi was advertised to neighbor
-
isLlGracefulRestartReceived
is Long-lived Graceful Restart Support advertised by neighbor.- Parameters:
tablesKey
- tables Key- Returns:
- true if Afi Safi was advertised by neighbor
-
getLlGracefulRestartTimer
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
-