blob: 86a94053d7b18478bbe15ec22f43b33bf0f9c9db [file] [log] [blame]
Thomas Vachuska48e64e42015-09-22 15:32:55 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Thomas Vachuska48e64e42015-09-22 15:32:55 -07003 *
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 */
16package org.onosproject.net.topology;
17
18import org.onosproject.net.DisjointPath;
19import org.onosproject.net.ElementId;
20import org.onosproject.net.Link;
21import org.onosproject.net.Path;
22
23import java.util.Map;
24import java.util.Set;
25
26/**
27 * Test adapter for path service.
28 */
29public class PathServiceAdapter implements PathService {
30 @Override
31 public Set<Path> getPaths(ElementId src, ElementId dst) {
32 return null;
33 }
34
35 @Override
Andrey Komarov2398d962016-09-26 15:11:23 +030036 public Set<Path> getPaths(ElementId src, ElementId dst,
37 LinkWeigher weigher) {
38 return null;
39 }
40
41 @Override
Thomas Vachuska48e64e42015-09-22 15:32:55 -070042 public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst) {
43 return null;
44 }
45
46 @Override
Andrey Komarov2398d962016-09-26 15:11:23 +030047 public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst,
Andrey Komarov2398d962016-09-26 15:11:23 +030048 LinkWeigher weigher) {
Thomas Vachuska48e64e42015-09-22 15:32:55 -070049 return null;
50 }
51
52 @Override
53 public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst,
54 Map<Link, Object> riskProfile) {
55 return null;
56 }
57
58 @Override
59 public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst,
Andrey Komarov2398d962016-09-26 15:11:23 +030060 LinkWeigher weigher,
61 Map<Link, Object> riskProfile) {
62 return null;
63 }
Thomas Vachuska48e64e42015-09-22 15:32:55 -070064}