public class BGPRIBStateImpl extends DefaultRibReference implements BGPRibState, BGPRibStateConsumer
Modifier | Constructor and Description |
---|---|
protected |
BGPRIBStateImpl(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Rib,RibKey> instanceIdentifier,
BgpId routeId,
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(TablesKey key,
TotalPathsCounter totalPathsCounter) |
protected void |
registerTotalPrefixesCounter(TablesKey key,
TotalPrefixesCounter totalPrefixesCounter) |
protected void |
setActive(boolean active) |
getInstanceIdentifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstanceIdentifier
public final Map<TablesKey,Long> getTablesPrefixesCount()
BGPRibState
getTablesPrefixesCount
in interface BGPRibState
public final Map<TablesKey,Long> getPathsCount()
BGPRibState
getPathsCount
in interface BGPRibState
public final long getTotalPathsCount()
BGPRibState
getTotalPathsCount
in interface BGPRibState
public final long getTotalPrefixesCount()
BGPRibState
getTotalPrefixesCount
in interface BGPRibState
public final long getPathCount(TablesKey tablesKey)
BGPRibState
getPathCount
in interface BGPRibState
tablesKey
- table keypublic final long getPrefixesCount(TablesKey tablesKey)
BGPRibState
getPrefixesCount
in interface BGPRibState
tablesKey
- table keypublic final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAs()
BGPRibState
getAs
in interface BGPRibState
public final BgpId getRouteId()
BGPRibState
getRouteId
in interface BGPRibState
protected final void registerTotalPathCounter(@Nonnull TablesKey key, @Nonnull TotalPathsCounter totalPathsCounter)
protected final void registerTotalPrefixesCounter(@Nonnull TablesKey key, @Nonnull TotalPrefixesCounter totalPrefixesCounter)
public final boolean isActive()
BGPRibState
isActive
in interface BGPRibState
protected final void setActive(boolean active)
public final BGPRibState getRIBState()
BGPRibStateConsumer
getRIBState
in interface BGPRibStateConsumer
Copyright © 2019 OpenDaylight. All rights reserved.