public interface MappingAdminService extends MappingService
| Modifier and Type | Method and Description |
|---|---|
void |
purgeMappings(MappingStore.Type type,
org.onosproject.net.DeviceId deviceId)
Purges all mappings on the specified device and mapping store.
|
void |
removeMappingEntries(MappingStore.Type type,
MappingEntry... entries)
Removes the specified mapping entries from their respective devices and
mapping store.
|
void |
removeMappingEntriesByAppId(MappingStore.Type type,
org.onosproject.core.ApplicationId appId)
Removes all mapping entries submitted by a particular application.
|
void |
storeMappingEntry(MappingStore.Type type,
MappingEntry entry)
Stores a mapping entry.
|
getAllMappingEntries, getMappingCount, getMappingEntries, getMappingEntriesByAppIdvoid storeMappingEntry(MappingStore.Type type, MappingEntry entry)
type - mapping store typeentry - mapping entry to be storedvoid removeMappingEntries(MappingStore.Type type, MappingEntry... entries)
type - mapping store typeentries - one or more mapping entriesvoid removeMappingEntriesByAppId(MappingStore.Type type, org.onosproject.core.ApplicationId appId)
type - mapping store typeappId - identifier of application whose mapping entries will be removedvoid purgeMappings(MappingStore.Type type, org.onosproject.net.DeviceId deviceId)
type - mapping store typedeviceId - device identifier