8.3.3.6. Port Impairment Statistics

This module contains the impairment port statistics commands.


class PE_CLEAR[source]

Bases: object

Clear all the impairment (duplicate, drop, mis-ordered, corrupted, latency and jitter) statistics for a Chimera port and flows 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 for a Chimera port and flows on the port. The byte and packet counts will restart at zero.

class PE_DUPTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

number of packets duplicated in all flows, ratio of number of packets duplicated in all flows, expressed in ppm.

Return type:

PE_DUPTOTAL.GetDataAttr

class PE_MISTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

number of packets mis-ordered in all flows, number of packets mis-ordered in all flows, expressed in ppm.

Return type:

PE_MISTOTAL.GetDataAttr

class PE_CORTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

number of packets corrupted in all flows; number of packets with Ethernet FCS corrupted in all flows; number of packets with IP header checksum corrupted in all flows; number of packets with UDP checksum corrupted in all flows; number of packets with TCP checksum corrupted in all flows; ratio of number of packets corrupted in all flows, expressed in ppm; ratio of number of packets with Ethernet FCS corrupted in all flows expressed in ppm; ratio of number of packets with IP Header checksum corrupted in all flows, expressed in ppm; ratio of number of packets with UDP checksum corrupted in all flows, expressed in ppm; ratio of number of packets with TCP checksum corrupted in all flows, expressed in ppm

Return type:

PE_CORTOTAL.GetDataAttr

class PE_JITTERTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

number of packets jittered in all flows, ratio of number of packets jittered in all flows expressed in ppm.

Return type:

PE_JITTERTOTAL.GetDataAttr

class PE_LATENCYTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

number of packets delayed in all flows, and ratio of number of packets delayed in all flows, expressed in ppm.

Return type:

PE_LATENCYTOTAL.GetDataAttr

class PE_DROPTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

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

Return type:

PE_DROPTOTAL.GetDataAttr