@Service(value=FlowAnalyzer.class) public class FlowAnalyzer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.flow.FlowRuleService |
flowRuleService |
protected org.onosproject.net.link.LinkService |
linkService |
protected org.onosproject.net.topology.TopologyService |
topologyService |
| Constructor and Description |
|---|
FlowAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext context) |
String |
analysisOutput() |
String |
analyze()
Analyzes and prints out a report on the status of every flow entry inside
the network.
|
Map<org.onosproject.net.flow.FlowEntry,String> |
calcLabels() |
void |
deactivate() |
String |
flowEntryRepresentation(org.onosproject.net.flow.FlowEntry flow) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.flow.FlowRuleService flowRuleService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.topology.TopologyService topologyService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.link.LinkService linkService
@Activate public void activate(org.osgi.service.component.ComponentContext context)
@Deactivate public void deactivate()
public String analyze()
public String analysisOutput()
public String flowEntryRepresentation(org.onosproject.net.flow.FlowEntry flow)