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