blob: e804cc903ef528258479ca80bbe68cf518909b6e [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
3import org.onosproject.net.DeviceId;
4import org.onosproject.net.provider.ProviderService;
5
6/**
7 * Means for injecting label information into the core.
8 */
9public 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}