Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +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 | |
| 17 | package org.onosproject.provider.pcep.tunnel.impl; |
| 18 | |
| 19 | import org.onosproject.net.DeviceId; |
| 20 | import org.onosproject.pcep.api.PcepController; |
| 21 | import org.onosproject.pcep.api.PcepDpid; |
| 22 | import org.onosproject.pcep.api.PcepLinkListener; |
| 23 | import org.onosproject.pcep.api.PcepSwitch; |
| 24 | import org.onosproject.pcep.api.PcepSwitchListener; |
| 25 | import org.onosproject.pcep.api.PcepTunnel; |
| 26 | import org.onosproject.pcep.api.PcepTunnelListener; |
| 27 | |
| 28 | public class PcepControllerAdapter implements PcepController { |
| 29 | |
| 30 | @Override |
| 31 | public Iterable<PcepSwitch> getSwitches() { |
| 32 | return null; |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | public PcepSwitch getSwitch(PcepDpid did) { |
| 37 | return null; |
| 38 | } |
| 39 | |
| 40 | @Override |
| 41 | public void addListener(PcepSwitchListener listener) { |
| 42 | |
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public void removeListener(PcepSwitchListener listener) { |
| 47 | } |
| 48 | |
| 49 | @Override |
| 50 | public void addLinkListener(PcepLinkListener listener) { |
| 51 | } |
| 52 | |
| 53 | @Override |
| 54 | public void removeLinkListener(PcepLinkListener listener) { |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public void addTunnelListener(PcepTunnelListener listener) { |
| 59 | } |
| 60 | |
| 61 | @Override |
| 62 | public void removeTunnelListener(PcepTunnelListener listener) { |
| 63 | } |
| 64 | |
| 65 | @Override |
| 66 | public PcepTunnel applyTunnel(DeviceId srcDid, DeviceId dstDid, long srcPort, long dstPort, long bandwidth, |
| 67 | String name) { |
| 68 | return null; |
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public Boolean deleteTunnel(String id) { |
| 73 | return null; |
| 74 | } |
| 75 | |
| 76 | @Override |
| 77 | public Boolean updateTunnelBandwidth(String id, long bandwidth) { |
| 78 | return null; |
| 79 | } |
chengfan | 2fff70f | 2015-08-24 18:20:19 -0500 | [diff] [blame] | 80 | |
| 81 | @Override |
| 82 | public void getTunnelStatistics(String pcepTunnelId) { |
| 83 | |
| 84 | } |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 85 | } |