1 package org.onosproject.incubator.net.resource.label;
3 import com.google.common.annotations.Beta;
4 import org.onosproject.net.DeviceId;
5 import org.onosproject.net.provider.ProviderService;
8 * Means for injecting label information into the core.
11 public interface LabelResourceProviderService extends ProviderService<LabelResourceProvider> {
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
19 void deviceLabelResourcePoolDetected(DeviceId deviceId,
20 LabelResourceId beginLabel,
21 LabelResourceId endLabel);
24 * Signals that an label resource pool has been destroyed.
25 * @param deviceId device identifier
27 void deviceLabelResourcePoolDestroyed(DeviceId deviceId);