class drop.DropAction(environment_id=None)

Bases: actions.action.Action

Geneva action to drop the given packet.


Initializes this drop action.

Parameters:environment_id (str, optional) – Environment ID of the strategy we are a part of
run(packet, logger)

The drop action returns None for both it’s left and right children, and does not pass the packet along for continued use.

frequency = 1