Interface BestPath
- All Known Implementing Classes:
AbstractBestPath,AddPathBestPath
public interface BestPath
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNodeAttributes.longPathId.default @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.PeerIdPeerId.org.opendaylight.protocol.bgp.rib.spi.RouterIdRouterId.booleanReturn true if this path is depreferenced.
-
Method Details
-
getRouterId
org.opendaylight.protocol.bgp.rib.spi.RouterId getRouterId()RouterId.- Returns:
- the routerId
-
getPeerId
default @NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.PeerId getPeerId()PeerId.- Returns:
- the routerId converted to a PeerId
-
getAttributes
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getAttributes()Attributes.- Returns:
- the path attributes
-
getPathId
long getPathId()PathId.- Returns:
- pathId
-
isDepreferenced
boolean isDepreferenced()Return true if this path is depreferenced.- Returns:
- True if this path is depreferenced.
-