blob: 891bb18eb96703d29169addda1a85045d51e1c4d [file] [log] [blame]
Satish K2eb5d842017-04-04 16:28:37 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
Satish K2eb5d842017-04-04 16:28:37 +05303 *
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 */
16package org.onosproject.pce.pceservice;
17
18import org.onosproject.net.Link;
19import org.onosproject.net.LinkKey;
20import org.onosproject.bandwidthmgr.api.BandwidthMgmtService;
21
22import java.util.Set;
23
24/**
25 * Adapter for Bandwidth Management service.
26 */
27public class BandwidthMgmtServiceAdapter implements BandwidthMgmtService {
28 @Override
29 public boolean allocLocalReservedBw(LinkKey linkkey, Double bandwidth) {
30 return false;
31 }
32
33 @Override
34 public boolean releaseLocalReservedBw(LinkKey linkkey, Double bandwidth) {
35 return false;
36 }
37
38 @Override
39 public Double getAllocatedLocalReservedBw(LinkKey linkkey) {
40 return null;
41 }
42
43 @Override
44 public boolean addUnreservedBw(LinkKey linkkey, Set<Double> bandwidth) {
45 return false;
46 }
47
48 @Override
49 public boolean removeUnreservedBw(LinkKey linkkey) {
50 return false;
51 }
52
53 @Override
54 public Set<Double> getUnreservedBw(LinkKey linkkey) {
55 return null;
56 }
57
58 @Override
59 public boolean isBandwidthAvailable(Link link, Double bandwidth) {
60 return false;
61 }
62
63 @Override
64 public Double getTeCost(LinkKey linkKey) {
65 return null;
66 }
67
68 @Override
69 public Double getAvailableBandwidth(LinkKey linkKey) {
70 return null;
71 }
72}