public interface MappingService extends org.onosproject.event.ListenerService<MappingEvent,MappingListener>
| Modifier and Type | Method and Description |
|---|---|
Iterable<MappingEntry> |
getAllMappingEntries(MappingStore.Type type)
Obtains the collection of mapping entries of all devices.
|
int |
getMappingCount(MappingStore.Type type)
Obtains the number of mappings in the system.
|
Iterable<MappingEntry> |
getMappingEntries(MappingStore.Type type,
org.onosproject.net.DeviceId deviceId)
Obtains the collection of mapping entries applied on the specific device.
|
Iterable<MappingEntry> |
getMappingEntriesByAppId(MappingStore.Type type,
org.onosproject.core.ApplicationId appId)
Obtains the collection of mapping entries with a given application ID.
|
int getMappingCount(MappingStore.Type type)
type - mapping store typeIterable<MappingEntry> getAllMappingEntries(MappingStore.Type type)
type - mapping store typeIterable<MappingEntry> getMappingEntries(MappingStore.Type type, org.onosproject.net.DeviceId deviceId)
type - mapping store typedeviceId - device identifierIterable<MappingEntry> getMappingEntriesByAppId(MappingStore.Type type, org.onosproject.core.ApplicationId appId)
type - mapping store typeappId - application identifier