blob: 5995d5f99ceb829ac5db5f43e30b0edfca65c7a3 [file] [log] [blame]
Toshio Koide485b4782014-10-20 19:34:21 -07001package org.onlab.onos.net.resource;
2
3/**
4 * Representation of allocated bandwidth resource.
5 */
Toshio Koided707d7a2014-10-23 12:37:51 -07006public class BandwidthResourceAllocation extends BandwidthResourceRequest
7 implements ResourceAllocation {
Toshio Koidea363f432014-10-23 12:49:40 -07008
9 @Override
10 public ResourceType type() {
11 return ResourceType.BANDWIDTH;
12 }
13
Toshio Koidefa0dff62014-10-23 11:46:44 -070014 /**
15 * Creates a new {@link BandwidthResourceAllocation} with {@link Bandwidth}
16 * object.
17 *
18 * @param bandwidth allocated bandwidth
19 */
20 public BandwidthResourceAllocation(Bandwidth bandwidth) {
21 super(bandwidth);
22 }
Toshio Koide485b4782014-10-20 19:34:21 -070023}