Class BestPathStateImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl
-
- All Implemented Interfaces:
BestPathState
public final class BestPathStateImpl extends Object implements BestPathState
-
-
Constructor Summary
Constructors Constructor Description BestPathStateImpl(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetAsPathLength()org.opendaylight.yangtools.yang.data.api.schema.ContainerNodegetAttributes()org.opendaylight.yangtools.yang.common.Uint32getLocalPref()longgetMultiExitDisc()BgpOrigingetOrigin()longgetPeerAs()inthashCode()booleanisDepreferenced()Return true if this route is depreferenced, for example through LLGR_STALE community.StringtoString()
-
-
-
Method Detail
-
getLocalPref
public org.opendaylight.yangtools.yang.common.Uint32 getLocalPref()
- Specified by:
getLocalPrefin interfaceBestPathState
-
getMultiExitDisc
public long getMultiExitDisc()
- Specified by:
getMultiExitDiscin interfaceBestPathState
-
getOrigin
public BgpOrigin getOrigin()
- Specified by:
getOriginin interfaceBestPathState
-
getPeerAs
public long getPeerAs()
- Specified by:
getPeerAsin interfaceBestPathState
-
getAsPathLength
public int getAsPathLength()
- Specified by:
getAsPathLengthin interfaceBestPathState
-
getAttributes
public org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getAttributes()
- Specified by:
getAttributesin interfaceBestPathState
-
isDepreferenced
public boolean isDepreferenced()
Description copied from interface:BestPathStateReturn true if this route is depreferenced, for example through LLGR_STALE community.- Specified by:
isDepreferencedin interfaceBestPathState- Returns:
- True if this route is depreferenced, false otherwise.
-
-