blob: 5995d5f99ceb829ac5db5f43e30b0edfca65c7a3 [file] [log] [blame]
package org.onlab.onos.net.resource;
/**
* Representation of allocated bandwidth resource.
*/
public class BandwidthResourceAllocation extends BandwidthResourceRequest
implements ResourceAllocation {
@Override
public ResourceType type() {
return ResourceType.BANDWIDTH;
}
/**
* Creates a new {@link BandwidthResourceAllocation} with {@link Bandwidth}
* object.
*
* @param bandwidth allocated bandwidth
*/
public BandwidthResourceAllocation(Bandwidth bandwidth) {
super(bandwidth);
}
}