jcc | fff0de9 | 2015-03-28 01:40:08 -0700 | [diff] [blame] | 1 | package org.onosproject.net.resource; |
| 2 | |
| 3 | import org.onosproject.net.DeviceId; |
| 4 | import org.onosproject.net.provider.ProviderService; |
| 5 | |
| 6 | /** |
| 7 | * Means for injecting label information into the core. |
| 8 | */ |
| 9 | public interface LabelResourceProviderService extends ProviderService<LabelResourceProvider> { |
| 10 | |
| 11 | /** |
| 12 | * Signals that a device label resource pool has been detected. |
| 13 | * @param deviceId device identifier |
| 14 | * @param beginLabel the begin label number of resource |
| 15 | * @param endLabel the end label number of resource |
| 16 | */ |
| 17 | void deviceLabelResourcePoolDetected(DeviceId deviceId, |
| 18 | LabelResourceId beginLabel, |
| 19 | LabelResourceId endLabel); |
| 20 | |
| 21 | /** |
| 22 | * Signals that an label resource pool has been destroyed. |
| 23 | * @param deviceId device identifier |
| 24 | */ |
| 25 | void deviceLabelResourcePoolDestroyed(DeviceId deviceId); |
| 26 | } |