@Service
public class PathManager
extends org.onosproject.net.topology.AbstractPathService
implements org.onosproject.net.topology.PathService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.host.HostService |
hostService |
protected org.onosproject.net.topology.TopologyService |
topologyService |
| Constructor and Description |
|---|
PathManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
Set<org.onosproject.net.DisjointPath> |
getDisjointPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst) |
Set<org.onosproject.net.DisjointPath> |
getDisjointPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst,
org.onosproject.net.topology.LinkWeight weight) |
Set<org.onosproject.net.DisjointPath> |
getDisjointPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst,
org.onosproject.net.topology.LinkWeight weight,
Map<org.onosproject.net.Link,Object> riskProfile) |
Set<org.onosproject.net.DisjointPath> |
getDisjointPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst,
Map<org.onosproject.net.Link,Object> riskProfile) |
Set<org.onosproject.net.Path> |
getPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst) |
Set<org.onosproject.net.Path> |
getPaths(org.onosproject.net.ElementId src,
org.onosproject.net.ElementId dst,
org.onosproject.net.topology.LinkWeight weight) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.topology.TopologyService topologyService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Activate public void activate()
@Deactivate public void deactivate()
public Set<org.onosproject.net.Path> getPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst)
getPaths in interface org.onosproject.net.topology.PathServicepublic Set<org.onosproject.net.Path> getPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst, org.onosproject.net.topology.LinkWeight weight)
getPaths in interface org.onosproject.net.topology.PathServicegetPaths in class org.onosproject.net.topology.AbstractPathServicepublic Set<org.onosproject.net.DisjointPath> getDisjointPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst)
getDisjointPaths in interface org.onosproject.net.topology.PathServicepublic Set<org.onosproject.net.DisjointPath> getDisjointPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst, org.onosproject.net.topology.LinkWeight weight)
getDisjointPaths in interface org.onosproject.net.topology.PathServicegetDisjointPaths in class org.onosproject.net.topology.AbstractPathServicepublic Set<org.onosproject.net.DisjointPath> getDisjointPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst, Map<org.onosproject.net.Link,Object> riskProfile)
getDisjointPaths in interface org.onosproject.net.topology.PathServicepublic Set<org.onosproject.net.DisjointPath> getDisjointPaths(org.onosproject.net.ElementId src, org.onosproject.net.ElementId dst, org.onosproject.net.topology.LinkWeight weight, Map<org.onosproject.net.Link,Object> riskProfile)
getDisjointPaths in interface org.onosproject.net.topology.PathServicegetDisjointPaths in class org.onosproject.net.topology.AbstractPathService