public class VirtualNetworkFlowRuleManager extends org.onosproject.event.AbstractListenerManager<org.onosproject.net.flow.FlowRuleEvent,org.onosproject.net.flow.FlowRuleListener> implements org.onosproject.net.flow.FlowRuleService, VnetService
| Constructor and Description |
|---|
VirtualNetworkFlowRuleManager(VirtualNetworkService virtualNetworkManager,
VirtualNetwork network)
Creates a new VirtualNetworkFlowRuleService object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.onosproject.net.flow.FlowRuleOperations ops) |
void |
applyFlowRules(org.onosproject.net.flow.FlowRule... flowRules) |
Iterable<org.onosproject.net.flow.FlowEntry> |
getFlowEntries(org.onosproject.net.DeviceId deviceId) |
Iterable<org.onosproject.net.flow.FlowEntry> |
getFlowEntriesById(org.onosproject.core.ApplicationId id) |
int |
getFlowRuleCount() |
Iterable<org.onosproject.net.flow.FlowRule> |
getFlowRulesByGroupId(org.onosproject.core.ApplicationId appId,
short groupId) |
Iterable<org.onosproject.net.flow.FlowRule> |
getFlowRulesById(org.onosproject.core.ApplicationId id) |
Iterable<org.onosproject.net.flow.TableStatisticsEntry> |
getFlowTableStatistics(org.onosproject.net.DeviceId deviceId) |
VirtualNetwork |
network() |
void |
purgeFlowRules(org.onosproject.net.DeviceId deviceId) |
void |
removeFlowRules(org.onosproject.net.flow.FlowRule... flowRules) |
void |
removeFlowRulesById(org.onosproject.core.ApplicationId appId) |
addListener, bindEventDispatcher, post, removeListener, unbindEventDispatcherpublic VirtualNetworkFlowRuleManager(VirtualNetworkService virtualNetworkManager, VirtualNetwork network)
virtualNetworkManager - virtual network manager servicenetwork - virtual networkpublic int getFlowRuleCount()
getFlowRuleCount in interface org.onosproject.net.flow.FlowRuleServicepublic Iterable<org.onosproject.net.flow.FlowEntry> getFlowEntries(org.onosproject.net.DeviceId deviceId)
getFlowEntries in interface org.onosproject.net.flow.FlowRuleServicepublic void applyFlowRules(org.onosproject.net.flow.FlowRule... flowRules)
applyFlowRules in interface org.onosproject.net.flow.FlowRuleServicepublic void purgeFlowRules(org.onosproject.net.DeviceId deviceId)
purgeFlowRules in interface org.onosproject.net.flow.FlowRuleServicepublic void removeFlowRules(org.onosproject.net.flow.FlowRule... flowRules)
removeFlowRules in interface org.onosproject.net.flow.FlowRuleServicepublic void removeFlowRulesById(org.onosproject.core.ApplicationId appId)
removeFlowRulesById in interface org.onosproject.net.flow.FlowRuleServicepublic Iterable<org.onosproject.net.flow.FlowRule> getFlowRulesById(org.onosproject.core.ApplicationId id)
getFlowRulesById in interface org.onosproject.net.flow.FlowRuleServicepublic Iterable<org.onosproject.net.flow.FlowEntry> getFlowEntriesById(org.onosproject.core.ApplicationId id)
getFlowEntriesById in interface org.onosproject.net.flow.FlowRuleServicepublic Iterable<org.onosproject.net.flow.FlowRule> getFlowRulesByGroupId(org.onosproject.core.ApplicationId appId, short groupId)
getFlowRulesByGroupId in interface org.onosproject.net.flow.FlowRuleServicepublic void apply(org.onosproject.net.flow.FlowRuleOperations ops)
apply in interface org.onosproject.net.flow.FlowRuleServicepublic Iterable<org.onosproject.net.flow.TableStatisticsEntry> getFlowTableStatistics(org.onosproject.net.DeviceId deviceId)
getFlowTableStatistics in interface org.onosproject.net.flow.FlowRuleServicepublic VirtualNetwork network()
network in interface VnetService