Package org.onosproject.net.flow
Interface FlowRuleProviderService
-
- All Superinterfaces:
ProviderService<FlowRuleProvider>
public interface FlowRuleProviderService extends ProviderService<FlowRuleProvider>
Service through which flow rule providers can inject information into the core.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
batchOperationCompleted(long batchId, CompletedBatchOperation operation)
Indicates to the core that the requested batch operation has been completed.void
flowRemoved(FlowEntry flowEntry)
Signals that a flow rule that was previously installed has been removed.void
pushFlowMetrics(DeviceId deviceId, java.lang.Iterable<FlowEntry> flowEntries)
Pushes the collection of flow entries currently applied on the given device.void
pushFlowMetricsWithoutFlowMissing(DeviceId deviceId, java.lang.Iterable<FlowEntry> flowEntries)
Pushes the collection of flow entries currently applied on the given device without flowMissing process.void
pushTableStatistics(DeviceId deviceId, java.util.List<TableStatisticsEntry> tableStatsEntries)
Pushes the collection of table statistics entries currently extracted from the given device.-
Methods inherited from interface org.onosproject.net.provider.ProviderService
provider
-
-
-
-
Method Detail
-
flowRemoved
void flowRemoved(FlowEntry flowEntry)
Signals that a flow rule that was previously installed has been removed.- Parameters:
flowEntry
- removed flow entry
-
pushFlowMetrics
void pushFlowMetrics(DeviceId deviceId, java.lang.Iterable<FlowEntry> flowEntries)
Pushes the collection of flow entries currently applied on the given device.- Parameters:
deviceId
- device identifierflowEntries
- collection of flow rules
-
pushFlowMetricsWithoutFlowMissing
void pushFlowMetricsWithoutFlowMissing(DeviceId deviceId, java.lang.Iterable<FlowEntry> flowEntries)
Pushes the collection of flow entries currently applied on the given device without flowMissing process.- Parameters:
deviceId
- device identifierflowEntries
- collection of flow rules
-
pushTableStatistics
void pushTableStatistics(DeviceId deviceId, java.util.List<TableStatisticsEntry> tableStatsEntries)
Pushes the collection of table statistics entries currently extracted from the given device.- Parameters:
deviceId
- device identifiertableStatsEntries
- collection of flow table statistics entries
-
batchOperationCompleted
void batchOperationCompleted(long batchId, CompletedBatchOperation operation)
Indicates to the core that the requested batch operation has been completed.- Parameters:
batchId
- the batch which was processedoperation
- the resulting outcome of the operation
-
-