blob: 7d1d43e56c0acf2bf45073d464bc402518367c55 [file] [log] [blame]
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
tom61359e92014-09-16 15:50:27 -070016package org.onlab.onos.net.topology;
17
18import org.onlab.onos.net.ConnectPoint;
19import org.onlab.onos.net.DeviceId;
20import org.onlab.onos.net.Link;
21import org.onlab.onos.net.Path;
22
23import java.util.Set;
24
25/**
26 * Test adapter for topology service.
27 */
28public class TopologyServiceAdapter implements TopologyService {
29 @Override
30 public Topology currentTopology() {
31 return null;
32 }
33
34 @Override
35 public boolean isLatest(Topology topology) {
36 return false;
37 }
38
39 @Override
40 public TopologyGraph getGraph(Topology topology) {
41 return null;
42 }
43
44 @Override
45 public Set<TopologyCluster> getClusters(Topology topology) {
46 return null;
47 }
48
49 @Override
50 public TopologyCluster getCluster(Topology topology, ClusterId clusterId) {
51 return null;
52 }
53
54 @Override
55 public Set<DeviceId> getClusterDevices(Topology topology, TopologyCluster cluster) {
56 return null;
57 }
58
59 @Override
60 public Set<Link> getClusterLinks(Topology topology, TopologyCluster cluster) {
61 return null;
62 }
63
64 @Override
65 public Set<Path> getPaths(Topology topology, DeviceId src, DeviceId dst) {
66 return null;
67 }
68
69 @Override
70 public Set<Path> getPaths(Topology topology, DeviceId src, DeviceId dst, LinkWeight weight) {
71 return null;
72 }
73
74 @Override
75 public boolean isInfrastructure(Topology topology, ConnectPoint connectPoint) {
76 return false;
77 }
78
79 @Override
80 public boolean isBroadcastPoint(Topology topology, ConnectPoint connectPoint) {
81 return false;
82 }
83
84 @Override
85 public void addListener(TopologyListener listener) {
86 }
87
88 @Override
89 public void removeListener(TopologyListener listener) {
90 }
91
92}