public class BGPRibStateImpl extends DefaultRibReference implements BGPRibState, BGPRibStateConsumer
| Modifier | Constructor and Description |
|---|---|
protected |
BGPRibStateImpl(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Rib,RibKey> instanceIdentifier,
@NonNull BgpId routeId,
@NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber localAs) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber |
getAs()
AS.
|
long |
getPathCount(TablesKey tablesKey)
Total Path Installed per specific TableKey.
|
Map<TablesKey,Long> |
getPathsCount()
Mapped Total Paths Count per TableKey.
|
long |
getPrefixesCount(TablesKey tablesKey)
Total Prefixes Installed per specific TableKey.
|
BGPRibState |
getRIBState()
Returns RIB Operational State.
|
BgpId |
getRouteId()
BGP identifier.
|
Map<TablesKey,Long> |
getTablesPrefixesCount()
Prefixes count per tablesKey Type.
|
long |
getTotalPathsCount()
Total Paths Installed.
|
long |
getTotalPrefixesCount()
Total Prefixes Installed.
|
boolean |
isActive()
Indicates whether this instance is being actively managed and updated.
|
protected void |
registerTotalPathCounter(@NonNull TablesKey key,
@NonNull TotalPathsCounter totalPathsCounter) |
protected void |
registerTotalPrefixesCounter(@NonNull TablesKey key,
@NonNull TotalPrefixesCounter totalPrefixesCounter) |
protected void |
setActive(boolean active) |
getInstanceIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceIdentifierpublic final Map<TablesKey,Long> getTablesPrefixesCount()
BGPRibStategetTablesPrefixesCount in interface BGPRibStatepublic final Map<TablesKey,Long> getPathsCount()
BGPRibStategetPathsCount in interface BGPRibStatepublic final long getTotalPathsCount()
BGPRibStategetTotalPathsCount in interface BGPRibStatepublic final long getTotalPrefixesCount()
BGPRibStategetTotalPrefixesCount in interface BGPRibStatepublic final long getPathCount(TablesKey tablesKey)
BGPRibStategetPathCount in interface BGPRibStatetablesKey - table keypublic final long getPrefixesCount(TablesKey tablesKey)
BGPRibStategetPrefixesCount in interface BGPRibStatetablesKey - table keypublic final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAs()
BGPRibStategetAs in interface BGPRibStatepublic final BgpId getRouteId()
BGPRibStategetRouteId in interface BGPRibStateprotected final void registerTotalPathCounter(@NonNull TablesKey key, @NonNull TotalPathsCounter totalPathsCounter)
protected final void registerTotalPrefixesCounter(@NonNull TablesKey key, @NonNull TotalPrefixesCounter totalPrefixesCounter)
public final boolean isActive()
BGPRibStateisActive in interface BGPRibStateprotected final void setActive(boolean active)
public final BGPRibState getRIBState()
BGPRibStateConsumergetRIBState in interface BGPRibStateConsumerCopyright © 2020 OpenDaylight. All rights reserved.