byteblowerll.byteblower.TriggerBasic

class byteblowerll.byteblower.TriggerBasic(*args, **kwargs)

Receive-side packet processor which counts the incoming frames, matching a filter.

This trigger is always active and starts counting frames as soon as it is created. Counting continues until the trigger is destructed.

Note

The initial (empty) filter string accepts all incoming frames. See meth``FilterSet for filtering information.

A basic trigger object can be created via a ByteBlowerPort, using ByteBlowerPort.RxTriggerBasicAdd()

This trigger processes frames received on the ByteBlower interface where its parent ByteBlowerPort is located.

Example

Receive all frames on “trunk-1-2” of some server, matching UDP source or destination port 67.

from byteblowerll.byteblower import ByteBlower
server = ByteBlower.ServerAdd('byteblower-1.lab.byteblower.com')
# TODO
__init__(*args, **kwargs)

Methods

DescriptionGet(*args) Gets a textual description for the current object
FilterGet() Returns the current installed BPF filter string.
FilterSet(filter) Sets a BPF filter on a RX object.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ResultClear() Resets the counter values to zero.
ResultGet() Returns the current result counters.
ResultHistoryGet() Returns the current History counters.
__init__(*args, **kwargs)