Thomas Vachuska | 48e64e4 | 2015-09-22 15:32:55 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 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 | */ |
| 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 |
| 41 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst) { |
| 42 | return null; |
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight) { |
| 47 | return null; |
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 52 | Map<Link, Object> riskProfile) { |
| 53 | return null; |
| 54 | } |
| 55 | |
| 56 | @Override |
| 57 | public Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, |
| 58 | LinkWeight weight, |
| 59 | Map<Link, Object> riskProfile) { |
| 60 | return null; |
| 61 | } |
| 62 | } |