Class BestPathStateImpl
java.lang.Object
org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl
- All Implemented Interfaces:
BestPathState
-
Constructor Summary
ConstructorsConstructorDescriptionBestPathStateImpl(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes) -
Method Summary
-
Constructor Details
-
BestPathStateImpl
public BestPathStateImpl(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes)
-
-
Method Details
-
getLocalPref
public org.opendaylight.yangtools.yang.common.Uint32 getLocalPref()- Specified by:
getLocalPrefin interfaceBestPathState
-
getMultiExitDisc
public long getMultiExitDisc()- Specified by:
getMultiExitDiscin interfaceBestPathState
-
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.
-
toString
-
hashCode
public int hashCode() -
equals
-