public class AbstractBestPathSelector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.primitives.UnsignedInteger |
bestOriginatorId |
protected BestPathState |
bestState |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBestPathSelector(long ourAs) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isExistingPathBetter(BestPathState state)
Chooses best route according to BGP best path selection.
|
protected com.google.common.primitives.UnsignedInteger |
replaceOriginator(com.google.common.primitives.UnsignedInteger routerId,
OriginatorId originatorId)
RFC 4456 mandates the use of Originator IDs instead of Router ID for
selection purposes.
|
protected com.google.common.primitives.UnsignedInteger bestOriginatorId
protected BestPathState bestState
protected com.google.common.primitives.UnsignedInteger replaceOriginator(com.google.common.primitives.UnsignedInteger routerId,
OriginatorId originatorId)
routerId - routerIDoriginatorId - originatorprotected boolean isExistingPathBetter(@Nonnull BestPathState state)
state - attributes of the new routeCopyright © 2019 OpenDaylight. All rights reserved.