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