8.3.3.7. Flow Impairment Statistics

This module contains the impairment flow statistics commands.


class PE_FLOWDROPTOTAL[source]

Bases: object

Obtains statistics concerning all the packets dropped in a flow between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets dropped in a flow between this receive port and its partner TX port.

Returns:

total number of packets dropped for the flow, total number of packets dropped as programmed for the flow, total number of packets dropped due to bandwidth control for the flow, total number of packets dropped for other reasons for the flow, ratio of number of packets dropped for the flow, expressed in ppm, ratio of number of packets dropped as programmed for the flow, expressed in ppm, ratio of number of packets dropped due to bandwidth control for the flow, expressed in ppm, ratio of number of packets dropped for other reasons for the flow, expressed in ppm.

Return type:

PE_FLOWDROPTOTAL.GetDataAttr

class PE_FLOWLATENCYTOTAL[source]

Bases: object

Obtains statistics concerning all the packets delayed between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets delayed between this receive port and its partner TX port.

Returns:

number of packets delayed in the flow, ratio of number of packets delayed in the flow, expressed in ppm.

Return type:

PE_FLOWLATENCYTOTAL.GetDataAttr

class PE_FLOWDUPTOTAL[source]

Bases: object

Obtains statistics concerning all the packets duplicated in a flow between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets duplicated in a flow between this receive port and its partner TX port.

Returns:

number of packets duplicated for the flow, ratio of number of packets duplicated for the flow - expressed in ppm.

Return type:

PE_FLOWDUPTOTAL.GetDataAttr

class PE_FLOWMISTOTAL[source]

Bases: object

Obtains statistics concerning all the packets mis-ordered in a flow between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets mis-ordered in a flow between this receive port and its partner TX port.

Returns:

number of packets mis-ordered for the flow, ratio of number of packets, expressed in ppm.

Return type:

PE_FLOWMISTOTAL.GetDataAttr

class PE_FLOWCORTOTAL[source]

Bases: object

Obtains statistics concerning all the packets corrupted in a flow between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets corrupted in a flow between this receive port and its partner TX port.

Returns:

number of packets corrupted for the flow, number of packets with Ethernet FCS corrupted for the flow, number of packets with IP header checksum corrupted for the flow, number of packets with UDP checksum corrupted for the flow, number of packets with TCP checksum corrupted for the flow, ratio of number of packets corrupted for the flow expressed in ppm, ratio of number of packets with Ethernet FCS corrupted for the flow expressed in ppm, ratio of number of packets with IP Header checksum corrupted for the flow expressed in ppm, ratio of number of packets with UDP checksum corrupted for the flow expressed in ppm, ratio of number of packets with TCP checksum corrupted for the flow expressed in ppm.

Return type:

PE_FLOWCORTOTAL.GetDataAttr

class PE_FLOWJITTERTOTAL[source]

Bases: object

Obtains statistics concerning all the packets jittered in a flow between this receive port and its partner TX port.

get()[source]

Get statistics concerning all the packets jittered in a flow between this receive port and its partner TX port.

Returns:

number of packets jittered in the flow, ratio of number of packets jittered in the flow, expressed in ppm

Return type:

PE_FLOWJITTERTOTAL.GetDataAttr

class PE_FLOWCLEAR[source]

Bases: object

Clear all the impairment (duplicate, drop, mis-ordered, corrupted, latency and jitter) statistics on a particular flow on the port. The byte and packet counts will restart at zero.

set()[source]

Clear all the impairment (duplicate, drop, mis-ordered, corrupted, latency and jitter) statistics on a particular flow on the port. The byte and packet counts will restart at zero.