blob: 93384c041e72b23a1986d914e5f5580c8fc28e0e [file] [log] [blame]
Brian O'Connor6de2e202015-05-21 14:30:41 -07001package org.onosproject.incubator.net.resource.label;
jccfff0de92015-03-28 01:40:08 -07002
Brian O'Connor893b9222015-06-25 15:07:04 -04003import com.google.common.annotations.Beta;
jccfff0de92015-03-28 01:40:08 -07004import org.onosproject.net.DeviceId;
5import org.onosproject.net.provider.ProviderService;
6
7/**
8 * Means for injecting label information into the core.
9 */
Brian O'Connor893b9222015-06-25 15:07:04 -040010@Beta
jccfff0de92015-03-28 01:40:08 -070011public 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}