Package onep :: Package policyservice :: Module action :: Class PacketCopy
[frames] | no frames]

Class PacketCopy


Action to copy packet to an application. This will duplicate packets and send them to the onePK application. A local ID may be specified that is attached to the packets delivered to the onePK application.

Instance Methods
 
__init__(self, remote_service_node, app_id, local_id, size, sample_type, sample_rate)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__eq__(self, obj)

Inherited from Action: check_action_support, get_action_type

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from Action: ActionOpCode, ActionType, BandwidthUnits, BurstUnits, Direction, RateUnits, ThresholdUnits, __metaclass__, action_type, handle, op_code

Properties

Inherited from object: __class__

Method Details

__init__(self, remote_service_node, app_id, local_id, size, sample_type, sample_rate)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • remote_service_node (int) - The value of remote_service_node
  • app_id (int) - The onePK application ID.
  • local_id (int) - The local_id
  • size (int) - The size of sample.
  • sample_type (int) - The value of sample_type
  • sample_rate (int) - The value of sample_rate
Overrides: object.__init__