Open Kilda Java Documentation
org.openkilda.service.StatsService Class Reference

Public Member Functions

String getSwitchIslStats (String startDate, String endDate, String downsample, String srcSwitch, String srcPort, String dstSwitch, String dstPort, String metric) throws IntegrationException
 
String getFlowStats (String startDate, String endDate, String downsample, String flowId, String metric) throws IntegrationException
 
String getSwitchPortStats (String startDate, String endDate, String downsample, String switchid, String portnumber, String metric) throws IntegrationException
 
String getSwitchIslLossPacketStats (String startDate, String endDate, String downsample, String srcSwitch, String srcPort, String dstSwitch, String dstPort, String metric)
 
String getFlowLossPacketStats (String startDate, String endDate, String downsample, String flowId, String direction) throws IntegrationException
 
String getFlowPathStats (FlowPathStats flowPathStats)
 
List< PortInfogetSwitchPortsStats (String startDate, String endDate, String downSample, String switchId)
 

Detailed Description

The Class StatsService.

Author
Gaurav Chugh

Definition at line 38 of file StatsService.java.

Member Function Documentation

◆ getFlowLossPacketStats()

String org.openkilda.service.StatsService.getFlowLossPacketStats ( String  startDate,
String  endDate,
String  downsample,
String  flowId,
String  direction 
) throws IntegrationException

Gets the flow loss packet stats.

Parameters
startDatethe start date
endDatethe end date
downsamplethe downsample
flowIdthe flow id
metricthe metric
directionthe direction
Returns
the flow loss packet stats
Exceptions
IntegrationExceptionthe integration exception

Definition at line 141 of file StatsService.java.

◆ getFlowPathStats()

String org.openkilda.service.StatsService.getFlowPathStats ( FlowPathStats  flowPathStats)

Gets the flow path stat.

Parameters
flowPathStatsthe flow path stat
Returns
the flow path stat

Definition at line 154 of file StatsService.java.

◆ getFlowStats()

String org.openkilda.service.StatsService.getFlowStats ( String  startDate,
String  endDate,
String  downsample,
String  flowId,
String  metric 
) throws IntegrationException

Gets the flow stats.

Parameters
startDatethe start date
endDatethe end date
downsamplethe downsample
flowIdthe flow id
metricthe metric
Returns
the flow stats
Exceptions
IntegrationExceptionthe integration exception

Definition at line 84 of file StatsService.java.

◆ getSwitchIslLossPacketStats()

String org.openkilda.service.StatsService.getSwitchIslLossPacketStats ( String  startDate,
String  endDate,
String  downsample,
String  srcSwitch,
String  srcPort,
String  dstSwitch,
String  dstPort,
String  metric 
)

Gets the switch isl loss packet stats.

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

Definition at line 123 of file StatsService.java.

◆ getSwitchIslStats()

String org.openkilda.service.StatsService.getSwitchIslStats ( String  startDate,
String  endDate,
String  downsample,
String  srcSwitch,
String  srcPort,
String  dstSwitch,
String  dstPort,
String  metric 
) throws IntegrationException

Gets the stats.

Parameters
startDatethe start date
endDatethe end date
downsamplethe downsample
SwitchIdthe switch id
portthe port
flowIdthe flow id
srcSwitchthe src switch
srcPortthe src port
dstSwitchthe dst switch
dstPortthe dst port
statsTypethe stats type
metricthe metric
Returns
the stats
Exceptions
IntegrationExceptionthe integration exception

Definition at line 66 of file StatsService.java.

◆ getSwitchPortsStats()

List<PortInfo> org.openkilda.service.StatsService.getSwitchPortsStats ( String  startDate,
String  endDate,
String  downSample,
String  switchId 
)

Gets the switch ports stats.

Parameters
startDatethe start date
endDatethe end date
downSamplethe down sample
switchIdthe switch id
Returns
the switch ports stats

Definition at line 172 of file StatsService.java.

◆ getSwitchPortStats()

String org.openkilda.service.StatsService.getSwitchPortStats ( String  startDate,
String  endDate,
String  downsample,
String  switchid,
String  portnumber,
String  metric 
) throws IntegrationException

Gets the switch stats.

Parameters
switchidthe switchid
portnumberthe portnumber
startDatethe start date
endDatethe end date
downsamplethe downsample
metricthe metric
Returns
the switch stats
Exceptions
IntegrationExceptionthe integration exception

Definition at line 102 of file StatsService.java.


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