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,
                 org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attrs)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 AbstractBestPathSelector(Long ourAs)
protected com.google.common.primitives.UnsignedInteger replaceOriginator(com.google.common.primitives.UnsignedInteger routerId,
                                                                         org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attrs)
routerId - routerIDattrs - router attributesprotected boolean isExistingPathBetter(@Nonnull BestPathState state)
state - attributes of the new routeCopyright © 2018 OpenDaylight. All rights reserved.