Class AbstractBGPRibState
java.lang.Object
org.opendaylight.protocol.bgp.rib.DefaultRibReference
org.opendaylight.protocol.bgp.rib.impl.state.AbstractBGPRibState
- All Implemented Interfaces:
RibReference,BGPRibState,InstanceReference<Rib>
- Direct Known Subclasses:
RIBImpl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBGPRibState(@NonNull org.opendaylight.yangtools.binding.DataObjectIdentifier.WithKey<Rib, RibKey> instanceIdentifier, @NonNull BgpId routeId, @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber localAs) -
Method Summary
Modifier and TypeMethodDescriptionfinal org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumbergetAs()AS.final BgpIdBGP identifier.final booleanisActive()Indicates whether this instance is being actively managed and updated.protected final voidsetActive(boolean active) Methods inherited from class org.opendaylight.protocol.bgp.rib.DefaultRibReference
getInstanceIdentifierMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.protocol.bgp.rib.spi.state.BGPRibState
getPathCount, getPathsCount, getPrefixesCount, getTablesPrefixesCount, getTotalPathsCount, getTotalPrefixesCount, tableCountersMethods inherited from interface org.opendaylight.protocol.bgp.rib.RibReference
getInstanceIdentifier
-
Constructor Details
-
AbstractBGPRibState
-
-
Method Details
-
getAs
public final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAs()Description copied from interface:BGPRibStateAS.- Specified by:
getAsin interfaceBGPRibState- Returns:
- as
-
getRouteId
Description copied from interface:BGPRibStateBGP identifier.- Specified by:
getRouteIdin interfaceBGPRibState- Returns:
- BGP identifier
-
isActive
public final boolean isActive()Description copied from interface:BGPRibStateIndicates whether this instance is being actively managed and updated.- Specified by:
isActivein interfaceBGPRibState- Returns:
- active
-
setActive
protected final void setActive(boolean active)
-