Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 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 | */ |
| 16 | package org.onosproject.net.topology; |
| 17 | |
| 18 | import org.onosproject.net.DisjointPath; |
| 19 | import org.onosproject.net.ElementId; |
| 20 | import org.onosproject.net.Link; |
| 21 | import org.onosproject.net.Path; |
| 22 | |
| 23 | import java.util.Map; |
| 24 | import java.util.Set; |
| 25 | |
| 26 | /** |
| 27 | * Test adapter for path service. |
| 28 | */ |
| 29 | public class PathServiceAdapter implements PathService { |
| 30 | @Override |
| 31 | public Set<Path> getPaths(ElementId src, ElementId dst) { |
| 32 | return null; |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | public Set<Path> getPaths(ElementId src, ElementId dst, LinkWeight weight) { |
| 37 | return null; |
| 38 | } |
| 39 | |
| 40 | @Override |
Andrey Komarov | 2398d96 | 2016-09-26 15:11:23 +0300 | [diff] [blame] | 41 | public Set<Path> getPaths(ElementId src, ElementId dst, |
| 42 | LinkWeigher weigher) { |
| 43 | return null; |
| 44 | } |
| 45 | |
| 46 | @Override |
Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 47 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst) { |
| 48 | return null; |
| 49 | } |
| 50 | |
| 51 | @Override |
Andrey Komarov | 2398d96 | 2016-09-26 15:11:23 +0300 | [diff] [blame] | 52 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 53 | LinkWeight weight) { |
| 54 | return null; |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 59 | LinkWeigher weigher) { |
Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 60 | return null; |
| 61 | } |
| 62 | |
| 63 | @Override |
| 64 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 65 | Map<Link, Object> riskProfile) { |
| 66 | return null; |
| 67 | } |
| 68 | |
| 69 | @Override |
| 70 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 71 | LinkWeight weight, |
| 72 | Map<Link, Object> riskProfile) { |
| 73 | return null; |
| 74 | } |
Andrey Komarov | 2398d96 | 2016-09-26 15:11:23 +0300 | [diff] [blame] | 75 | |
| 76 | @Override |
| 77 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 78 | LinkWeigher weigher, |
| 79 | Map<Link, Object> riskProfile) { |
| 80 | return null; |
| 81 | } |
Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 82 | } |