public interface IMappingSystem
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticationKey(Eid key,
MappingAuthkey authKey)
Add authentication key
|
void |
addData(MappingOrigin origin,
Eid key,
String subKey,
Object data)
Add data for key
|
void |
addMapping(MappingOrigin origin,
Eid key,
Object data)
Add mapping
|
MappingAuthkey |
getAuthenticationKey(Eid key)
Retrieve authentication key
|
Object |
getData(MappingOrigin origin,
Eid key,
String subKey)
Generic retrieval of data
|
Object |
getMapping(Eid dst)
Retrieves mapping for the provided dst key.
|
Object |
getMapping(Eid src,
Eid dst)
Retrieves mapping for the provided src and dst key.
|
Object |
getMapping(MappingOrigin origin,
Eid key)
Retrieves mapping from table for provided key
|
String |
printMappings()
Print all mappings.
|
void |
removeAuthenticationKey(Eid key)
Remove authentication key
|
void |
removeData(MappingOrigin origin,
Eid key,
String subKey)
Generic removal of data
|
void |
removeMapping(MappingOrigin origin,
Eid key)
Remove mapping
|
void |
setIterateMask(boolean iterate)
Sets iterateMask.
|
void |
setOverwritePolicy(boolean overwrite)
Configure overwrite policy.
|
void |
updateMappingRegistration(MappingOrigin origin,
Eid key)
Update key registration
|
void addMapping(MappingOrigin origin, Eid key, Object data)
origin - Table where mapping should be addedkey - Key of the mappingdata - Value to be storedObject getMapping(Eid src, Eid dst)
src - Source Key to be looked updst - Destination Key to be looked upObject getMapping(Eid dst)
dst - Destination Key to be looked upObject getMapping(MappingOrigin origin, Eid key)
origin - Table where mapping should be looked upkey - Key to be looked upvoid updateMappingRegistration(MappingOrigin origin, Eid key)
origin - Table for mapping that should be updatedkey - The key whose registration must be updatedvoid removeMapping(MappingOrigin origin, Eid key)
origin - Table for mapping that should be removedkey - Key to be removedvoid addAuthenticationKey(Eid key, MappingAuthkey authKey)
key - The key for which the authentication key is addedauthKey - The authentication keyMappingAuthkey getAuthenticationKey(Eid key)
key - The key for which the authentication key is being looked up.void removeAuthenticationKey(Eid key)
key - Key for which the authentication key should be removed.void addData(MappingOrigin origin, Eid key, String subKey, Object data)
origin - Table for data that should be addedkey - The key for which data is insertedsubKey - The subKey where data should be inserteddata - The data to be storedObject getData(MappingOrigin origin, Eid key, String subKey)
origin - Table from where data should be retrievedkey - The key where the data is storedsubKey - The subKey where data is storedvoid removeData(MappingOrigin origin, Eid key, String subKey)
origin - Table from where data should be removedkey - The key of the data to be removedsubKey - The subKey of the data to be removedvoid setIterateMask(boolean iterate)
iterate - Value to configurevoid setOverwritePolicy(boolean overwrite)
overwrite - Value to configureString printMappings()
Copyright © 2017 OpenDaylight. All rights reserved.