Interface BGPAfiSafiState
-
- All Superinterfaces:
BGPGracelfulRestartState
,BGPLlGracelfulRestartState
- All Known Implementing Classes:
ApplicationPeer
,BGPPeer
,BGPPeerStateImpl
public interface BGPAfiSafiState extends BGPLlGracelfulRestartState
BGP Operational Afi SafiS State.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Set<TablesKey>
getAfiSafisAdvertized()
List of TablesKey - Afi Safi Advertized to the neighbor.@NonNull Set<TablesKey>
getAfiSafisReceived()
List of TablesKey - Afi Safi Advertized by neighbor.long
getPrefixesInstalledCount(@NonNull TablesKey tablesKey)
Prefixes installed per specific tablekey.long
getPrefixesReceivedCount(@NonNull TablesKey tablesKey)
Prefixed received from the peer count.long
getPrefixesSentCount(@NonNull TablesKey tablesKey)
Prefixed sent to the Peer count.boolean
isAfiSafiSupported(@NonNull TablesKey tablesKey)
is AfiSafi Supported.-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.spi.state.BGPGracelfulRestartState
getMode, getPeerRestartTime, isGracefulRestartAdvertized, isGracefulRestartReceived, isLocalRestarting, isPeerRestarting
-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.spi.state.BGPLlGracelfulRestartState
getLlGracefulRestartTimer, isLlGracefulRestartAdvertised, isLlGracefulRestartReceived
-
-
-
-
Method Detail
-
isAfiSafiSupported
boolean isAfiSafiSupported(@NonNull TablesKey tablesKey)
is AfiSafi Supported.- Parameters:
tablesKey
- tables Key- Returns:
- true if Afi Safi was advertized to and by the neighbor
-
getPrefixesInstalledCount
long getPrefixesInstalledCount(@NonNull TablesKey tablesKey)
Prefixes installed per specific tablekey.- Parameters:
tablesKey
- tables Key- Returns:
- count
-
getPrefixesSentCount
long getPrefixesSentCount(@NonNull TablesKey tablesKey)
Prefixed sent to the Peer count.- Parameters:
tablesKey
- tablesKey Type- Returns:
- Prefixes sent count
-
getPrefixesReceivedCount
long getPrefixesReceivedCount(@NonNull TablesKey tablesKey)
Prefixed received from the peer count.- Parameters:
tablesKey
- tablesKey Type- Returns:
- Prefixed received count
-
getAfiSafisAdvertized
@NonNull Set<TablesKey> getAfiSafisAdvertized()
List of TablesKey - Afi Safi Advertized to the neighbor.- Returns:
- TableKeys
-
-