Open Kilda Java Documentation
org.openkilda.controller.StatsController Class Reference

Public Member Functions

List< String > getMetricDetail ()
 
String getIslStats (@PathVariable String srcSwitch, @PathVariable String srcPort, @PathVariable String dstSwitch, @PathVariable String dstPort, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample, @PathVariable String metric) throws Exception
 
String getPortStats (@PathVariable String switchid, @PathVariable String port, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample, @PathVariable String metric) throws Exception
 
String getFlowStats (@PathVariable String flowid, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample, @PathVariable String metric) throws Exception
 
String getIslLossPacketStats (@PathVariable String srcSwitch, @PathVariable String srcPort, @PathVariable String dstSwitch, @PathVariable String dstPort, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample, @PathVariable String metric) throws Exception
 
String getFlowLossPacketStats (@PathVariable String flowid, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample, @PathVariable String direction) throws Exception
 
String getFlowPathStat (@RequestBody FlowPathStats flowPathStats) throws Exception
 
List< PortInfogetSwitchPortsStats (@PathVariable String switchid, @PathVariable String startDate, @PathVariable String endDate, @PathVariable String downsample) throws Exception
 

Detailed Description

Definition at line 25 of file StatsController.java.

Member Function Documentation

◆ getFlowLossPacketStats()

String org.openkilda.controller.StatsController.getFlowLossPacketStats ( @PathVariable String  flowid,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample,
@PathVariable String  direction 
) throws Exception

Gets the flow loss packet stats.

Parameters
flowidthe flowid
startDatethe start date
endDatethe end date
downsamplethe downsample
directionthe direction
Returns
the flow loss packet stats
Exceptions
Exceptionthe exception

Definition at line 167 of file StatsController.java.

◆ getFlowPathStat()

String org.openkilda.controller.StatsController.getFlowPathStat ( @RequestBody FlowPathStats  flowPathStats) throws Exception

Gets the flow path stat.

Parameters
flowPathStatthe flow path stat (flowid , list of switchids, start date, end date)
Returns
the flow path stat
Exceptions
Exceptionthe exception

Definition at line 187 of file StatsController.java.

◆ getFlowStats()

String org.openkilda.controller.StatsController.getFlowStats ( @PathVariable String  flowid,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample,
@PathVariable String  metric 
) throws Exception

Gets the flow stats.

Parameters
flowidthe flowid
startDatethe start date
endDatethe end date
downsamplethe downsample
Returns
the flow stats
Exceptions
Exceptionthe exception

Definition at line 112 of file StatsController.java.

◆ getIslLossPacketStats()

String org.openkilda.controller.StatsController.getIslLossPacketStats ( @PathVariable String  srcSwitch,
@PathVariable String  srcPort,
@PathVariable String  dstSwitch,
@PathVariable String  dstPort,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample,
@PathVariable String  metric 
) throws Exception

Gets the switch isl loss packet stats.

Parameters
srcSwitchthe src switch
srcPortthe src port
dstSwitchthe dst switch
dstPortthe dst port
startDatethe start date
endDatethe end date
downsamplethe downsample
metricthe metric
Returns
the isl loss packet stats
Exceptions
Exceptionthe exception

Definition at line 140 of file StatsController.java.

◆ getIslStats()

String org.openkilda.controller.StatsController.getIslStats ( @PathVariable String  srcSwitch,
@PathVariable String  srcPort,
@PathVariable String  dstSwitch,
@PathVariable String  dstPort,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample,
@PathVariable String  metric 
) throws Exception

Gets the isl stats.

Parameters
flowidthe flowid
startDatethe start date
endDatethe end date
downsamplethe downsample
Returns
the flow stats
Exceptions
Exceptionthe exception

Definition at line 59 of file StatsController.java.

◆ getMetricDetail()

List<String> org.openkilda.controller.StatsController.getMetricDetail ( )

Gets the metric detail.

Returns
the metric detail

Definition at line 39 of file StatsController.java.

◆ getPortStats()

String org.openkilda.controller.StatsController.getPortStats ( @PathVariable String  switchid,
@PathVariable String  port,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample,
@PathVariable String  metric 
) throws Exception

Gets the port stats.

Parameters
switchidthe switchid
portthe port
startDatethe start date
endDatethe end date
downsamplethe downsample
Returns
the port stats
Exceptions
Exceptionthe exception

Definition at line 87 of file StatsController.java.

◆ getSwitchPortsStats()

List<PortInfo> org.openkilda.controller.StatsController.getSwitchPortsStats ( @PathVariable String  switchid,
@PathVariable String  startDate,
@PathVariable String  endDate,
@PathVariable String  downsample 
) throws Exception

Gets the switch ports stats.

Parameters
switchidthe switchid
startDatethe start date
endDatethe end date
downsamplethe downsample
Returns
the switch ports stats
Exceptions
Exceptionthe exception

Definition at line 208 of file StatsController.java.


The documentation for this class was generated from the following file: