Package org.onosproject.net.pi.service
Interface PiPipeconfMappingStore
- 
- All Superinterfaces:
- Store<PiPipeconfDeviceMappingEvent,PiPipeconfMappingStoreDelegate>
 
 @Beta public interface PiPipeconfMappingStore extends Store<PiPipeconfDeviceMappingEvent,PiPipeconfMappingStoreDelegate> Manages the mapping of Pipeconfs that are deployed to devices; not intended for direct use.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateOrUpdateBinding(DeviceId deviceId, PiPipeconfId pipeconfId)Stores or updates a binding between a device and the pipeconf deployed on it.java.util.Set<DeviceId>getDevices(PiPipeconfId pipeconfId)Retrieves the set of devices on which the given pipeconf is applied.PiPipeconfIdgetPipeconfId(DeviceId deviceId)Retrieves the id of the pipeconf associated to a given device.voidremoveBinding(DeviceId deviceId)Removes device to pipeconf binding.- 
Methods inherited from interface org.onosproject.store.StorehasDelegate, setDelegate, unsetDelegate
 
- 
 
- 
- 
- 
Method Detail- 
getPipeconfIdPiPipeconfId getPipeconfId(DeviceId deviceId) Retrieves the id of the pipeconf associated to a given device.- Parameters:
- deviceId- device identifier
- Returns:
- PiPipeconfId
 
 - 
getDevicesjava.util.Set<DeviceId> getDevices(PiPipeconfId pipeconfId) Retrieves the set of devices on which the given pipeconf is applied.- Parameters:
- pipeconfId- pipeconf identifier
- Returns:
- the set of devices that have that pipeconf applied.
 
 - 
createOrUpdateBindingvoid createOrUpdateBinding(DeviceId deviceId, PiPipeconfId pipeconfId) Stores or updates a binding between a device and the pipeconf deployed on it.- Parameters:
- deviceId- deviceId
- pipeconfId- pipeconfId
 
 - 
removeBindingvoid removeBinding(DeviceId deviceId) Removes device to pipeconf binding.- Parameters:
- deviceId- deviceId
 
 
- 
 
-