Priyanka B | 94395bf | 2016-05-21 18:39:46 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present 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 | |
| 17 | package org.onosproject.provider.pcep.topology.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 | /** |
| 29 | * Implementation of PCEP controller. |
| 30 | */ |
| 31 | public class PcepControllerAdapter implements PcepController { |
| 32 | |
| 33 | @Override |
| 34 | public Iterable<PcepSwitch> getSwitches() { |
| 35 | return null; |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | public PcepSwitch getSwitch(PcepDpid did) { |
| 40 | return null; |
| 41 | } |
| 42 | |
| 43 | @Override |
| 44 | public void addListener(PcepSwitchListener listener) { |
| 45 | |
| 46 | } |
| 47 | |
| 48 | @Override |
| 49 | public void removeListener(PcepSwitchListener listener) { |
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public void addLinkListener(PcepLinkListener listener) { |
| 54 | } |
| 55 | |
| 56 | @Override |
| 57 | public void removeLinkListener(PcepLinkListener listener) { |
| 58 | } |
| 59 | |
| 60 | @Override |
| 61 | public void addTunnelListener(PcepTunnelListener listener) { |
| 62 | } |
| 63 | |
| 64 | @Override |
| 65 | public void removeTunnelListener(PcepTunnelListener listener) { |
| 66 | } |
| 67 | |
| 68 | @Override |
| 69 | public PcepTunnel applyTunnel(DeviceId srcDid, DeviceId dstDid, long srcPort, long dstPort, long bandwidth, |
| 70 | String name) { |
| 71 | return null; |
| 72 | } |
| 73 | |
| 74 | @Override |
| 75 | public Boolean deleteTunnel(String id) { |
| 76 | return null; |
| 77 | } |
| 78 | |
| 79 | @Override |
| 80 | public Boolean updateTunnelBandwidth(String id, long bandwidth) { |
| 81 | return null; |
| 82 | } |
| 83 | |
| 84 | @Override |
| 85 | public void getTunnelStatistics(String pcepTunnelId) { |
| 86 | |
| 87 | } |
| 88 | } |