__init__(self,
rate_units,
burst_units,
cir,
pir=0,
cbs=0,
ebs=0,
conform_action=0,
conform_value=0,
exceed_action=0,
exceed_value=0,
violate_action=0,
violate_value=0,
conform_color=0,
exceed_color=0)
(Constructor)
|
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Parameters:
rate_units (RateUnits) - The units for measuring the rate
burst_units (BurstUnits) - The units for measuring the burst
cir (int ) - Committed information rate (CIR)
pir (int ) - Peak information rate (PIR)
cbs (int ) - Committed burst size (CBS)
ebs (int ) - Excess burst size (EBS)
conform_color (int ) - Conform-color class - for color-aware policing, this is the
handle of the class that specifies the conform-color for incoming
packets marked by a previous node.
exceed_color (int ) - Exceed-color class - for color-aware policing, this is the handle
of the class that specifies the exceed-color for incoming packets
marked by a previous node.
conform_action (PoliceActionType) - Action applied to conforming traffic
exceed_action (PoliceActionType) - Action applied to excess traffic
violate_action (PoliceActionType) - Action applied to excess traffic
conform_value (int ) - Action value applied to conforming traffic
exceed_value (int ) - Action value applied to excess traffic
violate_value (int ) - Action value applied to traffic in violation
- Overrides:
object.__init__
|