Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.resource; |
| 2 | |
| 3 | /** |
| 4 | * Representation of allocated bandwidth resource. |
| 5 | */ |
Toshio Koide | d707d7a | 2014-10-23 12:37:51 -0700 | [diff] [blame] | 6 | public class BandwidthResourceAllocation extends BandwidthResourceRequest |
| 7 | implements ResourceAllocation { |
Toshio Koide | a363f43 | 2014-10-23 12:49:40 -0700 | [diff] [blame] | 8 | |
| 9 | @Override |
| 10 | public ResourceType type() { |
| 11 | return ResourceType.BANDWIDTH; |
| 12 | } |
| 13 | |
Toshio Koide | fa0dff6 | 2014-10-23 11:46:44 -0700 | [diff] [blame] | 14 | /** |
| 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 Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 23 | } |