Home | Trees | Indices | Help |
|
---|
|
The Action class is an abstract class that represents an action to be applied to a policy entry (PolicyMap.Entry). The Action object specifies the actions to be performed when a packet matches the match criteria. There may be one or more actions within an entry. There are different types of action objects that specify details of each action to be performed. It is also possible that an action object can contain a dependent action object. You will see this object assigned to the dependent_action instance variable.
***DEPRECATED*** The following enums were copied to root of action.py module because they are used by multiple classes in the module. Eventually they will be removed from this class.
RateUnits BurstUnits BandwidthUnits ThresholdUnits ActionType Direction ***********
Instance Methods | |||
bool
|
|
||
ActionType |
|
||
Inherited from |
Class Variables | |
__metaclass__ = abc.ABCMeta
|
|
RateUnits = enum(RATE_UNITS_BPS= 1, RATE_UNITS_PERCENT= 2) ***DEPRECATED*** |
|
BandwidthUnits = enum(RATE_UNITS_BPS= 1, RATE_UNITS_PERCENT= 2) ***DEPRECATED*** |
|
BurstUnits = enum(BURST_UNITS_BITS= 1, BURST_UNITS_MSEC= 2) ***DEPRECATED*** |
|
ThresholdUnits = enum(UNITS_PKTS= 1, UNITS_BYTES= 2, UNITS_CEL ***DEPRECATED*** |
|
ActionType = enum(NONE= 0, DROP= 1, COPY= 2, DIVERT= 3, XMIT= ***DEPRECATED*** |
|
Direction = enum(SOURCE= 0, DESTINATION= 1) ***DEPRECATED*** |
|
ActionOpCode = enum('CREATE', 'MOD', 'DEL', 'REP') Internal use only |
|
action_type = property(_get_actiontype, _set_actiontype, None,
|
|
op_code = property(_get_opcode, _set_opcode, None, None)
|
|
handle = property(_get_handle, _set_handle, None, None)
|
Properties | |
Inherited from |
Method Details |
Check to see if policy action is supported on network element
|
Return ActionType of action class (action_type variable is internal only)
|
Class Variable Details |
ThresholdUnits***DEPRECATED***
|
ActionType***DEPRECATED***
|
action_type
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:31 2014 | http://epydoc.sourceforge.net |