8.3.3.8. Flow TX Statistics Classes

This module contains the impairment flow TX statistics commands.


class PT_FLOWTOTAL[source]

Bases: object

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

get()[source]

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

Returns:

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

Return type:

PT_FLOWTOTAL.GetDataAttr

class PT_FLOWCLEAR[source]

Bases: object

Clear all the transmit 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 transmit statistics on a particular flow for a Chimera port. The byte and packet counts will restart at zero.