@Test public void edgeToInfra() { HostId src = hid("12:34:56:78:90:ab/1"); DeviceId dst = did("dst"); fakeTopoMgr.paths.add(createPath("edge", "middle", "dst")); fakeHostMgr.hosts.put(src, host("12:34:56:78:90:ab/1", "edge")); Set<Path> paths = service.getPaths(src, dst); validatePaths(paths, 1, 3, src, dst); }
@Override public Set<Path> getPaths(ElementId src, ElementId dst) { checkPermission(TOPOLOGY_READ); return getPaths(src, dst, null); }
PathManager implements PathService { @Override public Set<Path> getPaths(ElementId src, ElementId dst) { checkPermission(TOPOLOGY_READ); return getPaths(src, dst, null); } }
PathManager implements PathService { @Override public Set<Path> getPaths(ElementId src, ElementId dst) { checkPermission(TOPOLOGY_READ); return getPaths(src, dst, null); }  }
PathManager implements PathService { @Override public Set<Path> getPaths(ElementId src, ElementId dst) { checkPermission(TOPOLOGY_READ); return getPaths(src, dst, null); }  @Activate void activate(); @Deactivate void deactivate(); @Override Set<Path> getPaths(ElementId src, ElementId dst); @Override Set<Path> getPaths(ElementId src, ElementId dst, LinkWeight weight); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst,
                                              Map<Link, Object> riskProfile); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight,
                                              Map<Link, Object> riskProfile); }
PathManager implements PathService { @Override public Set<Path> getPaths(ElementId src, ElementId dst) { checkPermission(TOPOLOGY_READ); return getPaths(src, dst, null); }  @Activate void activate(); @Deactivate void deactivate(); @Override Set<Path> getPaths(ElementId src, ElementId dst); @Override Set<Path> getPaths(ElementId src, ElementId dst, LinkWeight weight); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst,
                                              Map<Link, Object> riskProfile); @Override Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight,
                                              Map<Link, Object> riskProfile);  }