blob: cb14abc9727ebeb7dee8c2627a19d086d2bb9424 [file] [log] [blame]
Toshio Koide50df38d2014-10-23 10:36:51 -07001package org.onlab.onos.net.resource;
2
3import static org.slf4j.LoggerFactory.getLogger;
4
5import org.apache.felix.scr.annotations.Activate;
6import org.apache.felix.scr.annotations.Component;
7import org.apache.felix.scr.annotations.Deactivate;
8import org.apache.felix.scr.annotations.Service;
9import org.onlab.onos.net.Link;
10import org.onlab.onos.net.intent.IntentId;
11import org.slf4j.Logger;
12
13/**
14 * Provides basic implementation of link resources allocation.
15 */
16@Component(immediate = true)
17@Service
18public class LinkResourceManager implements LinkResourceService {
19
20 private final Logger log = getLogger(getClass());
21
22 @Activate
23 public void activate() {
24 log.info("Started");
25 }
26
27 @Deactivate
28 public void deactivate() {
29 log.info("Stopped");
30 }
31
32 @Override
33 public LinkResourceAllocations requestResources(LinkResourceRequest req) {
34 // TODO Auto-generated method stub
35 return null;
36 }
37
38 @Override
39 public void releaseResources(LinkResourceAllocations allocations) {
40 // TODO Auto-generated method stub
41
42 }
43
44 @Override
45 public Iterable<LinkResourceAllocations> getAllocations() {
46 // TODO Auto-generated method stub
47 return null;
48 }
49
50 @Override
51 public Iterable<LinkResourceAllocations> getAllocations(Link link) {
52 // TODO Auto-generated method stub
53 return null;
54 }
55
56 @Override
57 public Iterable<IntentId> getIntents(Link link) {
58 // TODO Auto-generated method stub
59 return null;
60 }
61
62 @Override
63 public ResourceRequest getAvailableResources(Link link) {
64 // TODO Auto-generated method stub
65 return null;
66 }
67
68}