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(Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getAsPathLength()
Attributes
getAttributes()
org.opendaylight.yangtools.yang.common.Uint32
getLocalPref()
long
getMultiExitDisc()
BgpOrigin
getOrigin()
long
getPeerAs()
int
hashCode()
boolean
isDepreferenced()
Return true if this route is depreferenced, for example through LLGR_STALE community.String
toString()
-
-
-
Constructor Detail
-
BestPathStateImpl
public BestPathStateImpl(Attributes attributes)
-
-
Method Detail
-
getLocalPref
public org.opendaylight.yangtools.yang.common.Uint32 getLocalPref()
- Specified by:
getLocalPref
in interfaceBestPathState
-
getMultiExitDisc
public long getMultiExitDisc()
- Specified by:
getMultiExitDisc
in interfaceBestPathState
-
getOrigin
public BgpOrigin 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 Attributes 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.
-
-