Package onep :: Package policyservice :: Module statistics :: Class ClassStatistics
[frames] | no frames]

Class ClassStatistics


Class statistic totals

pkts - Number of classified packets bytes - Number of bytes total in classified packet streams rate - Byte rate of classified packets drop_pkts - Number of packets dropped drop_bytes - Number of dropped bytes total in classified packet streams drop_rate - Byte rate of dropped packets

Instance Methods
 
__init__(self, pkts=0, bytes=0, rate=0, drop_pkts=0, drop_bytes=0, drop_rate=0)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__str__(self)
str(x)

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

Properties

Inherited from object: __class__

Method Details

__init__(self, pkts=0, bytes=0, rate=0, drop_pkts=0, drop_bytes=0, drop_rate=0)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)