93384c041e72b23a1986d914e5f5580c8fc28e0e
[onosfw.git] /
1 package org.onosproject.incubator.net.resource.label;
2
3 import com.google.common.annotations.Beta;
4 import org.onosproject.net.DeviceId;
5 import org.onosproject.net.provider.ProviderService;
6
7 /**
8  * Means for injecting label information into the core.
9  */
10 @Beta
11 public interface LabelResourceProviderService extends ProviderService<LabelResourceProvider> {
12
13     /**
14      * Signals that a device label resource pool has been detected.
15      * @param deviceId device identifier
16      * @param beginLabel the begin label number of resource
17      * @param endLabel the end label number of resource
18      */
19     void deviceLabelResourcePoolDetected(DeviceId deviceId,
20                                          LabelResourceId beginLabel,
21                                          LabelResourceId endLabel);
22
23     /**
24      * Signals that an label resource pool has been destroyed.
25      * @param deviceId device identifier
26      */
27     void deviceLabelResourcePoolDestroyed(DeviceId deviceId);
28 }