8.3.3.9. Flow RX Statistics Classes

This module contains the impairment flow RX statistics commands.


class PR_FLOWTOTAL[source]

Bases: object

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

get()[source]

(Chimera only) Get statistics concerning all the packets received from a flow between this receive port and its partner TX port.

Returns:

number of bits received at layer 2 in the last second for the flow, number of packets received in the last second for the flow, number of bytes received since statistics were cleared for the flow, number of packets received since statistics were cleared for the flow

Return type:

PR_FLOWTOTAL.GetDataAttr

class PR_FLOWCLEAR[source]

Bases: object

Clear all the receive statistics on a particular flow for a Chimera port. The byte and packet counts will restart at zero.

set()[source]

(Chimera only) Clear all the receive statistics on a particular flow for a Chimera port. The byte and packet counts will restart at zero.