Class BestPathStateImpl
java.lang.Object
org.opendaylight.protocol.bgp.mode.impl.BestPathStateImpl
- All Implemented Interfaces:
BestPathState
-
Constructor Summary
ConstructorDescriptionBestPathStateImpl
(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:
getLocalPref
in interfaceBestPathState
-
getMultiExitDisc
public long getMultiExitDisc()- Specified by:
getMultiExitDisc
in interfaceBestPathState
-
getOrigin
- Specified by:
getOrigin
in interfaceBestPathState
-
getPeerAs
public long getPeerAs()- Specified by:
getPeerAs
in interfaceBestPathState
-
getAsPathLength
public int getAsPathLength()- Specified by:
getAsPathLength
in interfaceBestPathState
-
getAttributes
public org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getAttributes()- Specified by:
getAttributes
in interfaceBestPathState
-
isDepreferenced
public boolean isDepreferenced()Description copied from interface:BestPathState
Return true if this route is depreferenced, for example through LLGR_STALE community.- Specified by:
isDepreferenced
in interfaceBestPathState
- Returns:
- True if this route is depreferenced, false otherwise.
-
toString
-
hashCode
public int hashCode() -
equals
-