Priyanka B | 94395bf | 2016-05-21 18:39:46 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Foundation |
Priyanka B | 94395bf | 2016-05-21 18:39:46 +0530 | [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 | |
Ray Milkey | d1c34da | 2018-06-22 18:10:53 -0700 | [diff] [blame] | 17 | package org.onosproject.pcep.api; |
Priyanka B | 94395bf | 2016-05-21 18:39:46 +0530 | [diff] [blame] | 18 | |
| 19 | import org.onosproject.net.DeviceId; |
Priyanka B | 94395bf | 2016-05-21 18:39:46 +0530 | [diff] [blame] | 20 | |
| 21 | /** |
| 22 | * Implementation of PCEP controller. |
| 23 | */ |
| 24 | public class PcepControllerAdapter implements PcepController { |
| 25 | |
| 26 | @Override |
| 27 | public Iterable<PcepSwitch> getSwitches() { |
| 28 | return null; |
| 29 | } |
| 30 | |
| 31 | @Override |
| 32 | public PcepSwitch getSwitch(PcepDpid did) { |
| 33 | return null; |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | public void addListener(PcepSwitchListener listener) { |
| 38 | |
| 39 | } |
| 40 | |
| 41 | @Override |
| 42 | public void removeListener(PcepSwitchListener listener) { |
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public void addLinkListener(PcepLinkListener listener) { |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public void removeLinkListener(PcepLinkListener listener) { |
| 51 | } |
| 52 | |
| 53 | @Override |
| 54 | public void addTunnelListener(PcepTunnelListener listener) { |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public void removeTunnelListener(PcepTunnelListener listener) { |
| 59 | } |
| 60 | |
| 61 | @Override |
| 62 | public PcepTunnel applyTunnel(DeviceId srcDid, DeviceId dstDid, long srcPort, long dstPort, long bandwidth, |
| 63 | String name) { |
| 64 | return null; |
| 65 | } |
| 66 | |
| 67 | @Override |
| 68 | public Boolean deleteTunnel(String id) { |
| 69 | return null; |
| 70 | } |
| 71 | |
| 72 | @Override |
| 73 | public Boolean updateTunnelBandwidth(String id, long bandwidth) { |
| 74 | return null; |
| 75 | } |
| 76 | |
| 77 | @Override |
| 78 | public void getTunnelStatistics(String pcepTunnelId) { |
| 79 | |
| 80 | } |
| 81 | } |