@Service public class TopologyMetrics extends Object implements TopologyMetricsService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected org.onosproject.net.host.HostService |
hostService |
protected org.onosproject.net.link.LinkService |
linkService |
protected org.onlab.metrics.MetricsService |
metricsService |
protected org.onosproject.net.topology.TopologyService |
topologyService |
| Constructor and Description |
|---|
TopologyMetrics() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
void |
deactivate() |
List<org.onosproject.event.Event> |
getEvents()
Gets the last saved topology events.
|
org.onlab.metrics.EventMetric |
topologyDeviceEventMetric()
Gets the Event Metric for the Device Events.
|
org.onlab.metrics.EventMetric |
topologyGraphEventMetric()
Gets the Event Metric for the Topology Graph Events.
|
org.onlab.metrics.EventMetric |
topologyGraphReasonsEventMetric()
Gets the Event Metric for the Topology Graph Reasons Events.
|
org.onlab.metrics.EventMetric |
topologyHostEventMetric()
Gets the Event Metric for the Host Events.
|
org.onlab.metrics.EventMetric |
topologyLinkEventMetric()
Gets the Event Metric for the Link Events.
|
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.link.LinkService linkService
@Reference(cardinality=MANDATORY_UNARY) protected org.onlab.metrics.MetricsService metricsService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.topology.TopologyService topologyService
@Activate protected void activate()
@Deactivate public void deactivate()
public List<org.onosproject.event.Event> getEvents()
TopologyMetricsServicegetEvents in interface TopologyMetricsServicepublic org.onlab.metrics.EventMetric topologyDeviceEventMetric()
TopologyMetricsServicetopologyDeviceEventMetric in interface TopologyMetricsServicepublic org.onlab.metrics.EventMetric topologyHostEventMetric()
TopologyMetricsServicetopologyHostEventMetric in interface TopologyMetricsServicepublic org.onlab.metrics.EventMetric topologyLinkEventMetric()
TopologyMetricsServicetopologyLinkEventMetric in interface TopologyMetricsServicepublic org.onlab.metrics.EventMetric topologyGraphEventMetric()
TopologyMetricsServicetopologyGraphEventMetric in interface TopologyMetricsServicepublic org.onlab.metrics.EventMetric topologyGraphReasonsEventMetric()
TopologyMetricsServicetopologyGraphReasonsEventMetric in interface TopologyMetricsServiceCopyright © 2016. All rights reserved.