Interface DeviceFlowRegistry
- All Superinterfaces:
AutoCloseable
,CommonDeviceRegistry<FlowRegistryKey>
- All Known Implementing Classes:
DeviceFlowRegistryImpl
Registry for mapping composite-key of flow (
FlowRegistryKey
) from device view
to flow descriptor (FlowDescriptor
) as the identifier of the same flow in data store.-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendHistoryFlow
(@NonNull FlowId id, org.opendaylight.yangtools.yang.common.Uint8 tableId, @NonNull FlowGroupStatus status) void
com.google.common.util.concurrent.ListenableFuture<List<Optional<FlowCapableNode>>>
fill()
@Nullable FlowDescriptor
retrieveDescriptor
(@NonNull FlowRegistryKey flowRegistryKey) void
storeDescriptor
(@NonNull FlowRegistryKey flowRegistryKey, @NonNull FlowDescriptor flowDescriptor) Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.registry.CommonDeviceRegistry
addMark, close, forEach, processMarks, size, store
-
Method Details
-
fill
com.google.common.util.concurrent.ListenableFuture<List<Optional<FlowCapableNode>>> fill() -
storeDescriptor
void storeDescriptor(@NonNull FlowRegistryKey flowRegistryKey, @NonNull FlowDescriptor flowDescriptor) -
retrieveDescriptor
-
clearFlowRegistry
void clearFlowRegistry() -
appendHistoryFlow
@Beta void appendHistoryFlow(@NonNull FlowId id, org.opendaylight.yangtools.yang.common.Uint8 tableId, @NonNull FlowGroupStatus status)
-