Home | Trees | Indices | Help |
|
---|
|
This class represents data related to statistical events detected on network interfaces.
Instance Methods | |||
|
|||
|
|||
Inherited from |
Class Variables | |
Inherited from |
Instance Variables | |
NetworkElement |
network_element = None The network element. |
NetworkInterface |
interface = None Gets the network interface on which this event occurred. |
InterfaceStatisticsParameter |
parameter = None Gets the parameter ID that triggered this event. |
int
|
value = 0 The incremental/decremental difference compared to the last event triggered or the absolute value of the parameter being monitored, depending on the interface statistics type specified in the registration. |
int
|
delta_value = 0 Gets the change in value. |
bool
|
is_increment = False Indicates whether this is an increment value event. |
bool
|
is_exit_event = False Indicates whether this event is an exist event. |
int
|
event_handle = None A unique ID to identify which event listener should receive the event. |
Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
Constructor of InterfaceStatisticsEvent class.
|
This method specifies what action to do when a event is processed in the event queue. For InterfaceStatisticsEvent, the action is invoking client's event listener.
|
Instance Variable Details |
valueThe incremental/decremental difference compared to the last event triggered or the absolute value of the parameter being monitored, depending on the interface statistics type specified in the registration.For example, if ONEP_INTERFACE_STATISTICS_TYPE_INCREMENT was specified in the InterfaceStatisticsFilter, the value returned will be the incremental/decremental difference.
|
delta_valueGets the change in value. If the type specified in event registration was ONEP_INTERFACE_STATISTICS_TYPE_RATE, the delta_value gets the difference between the current parameter value and the sample taken at the last poll interval.Otherwise the return value is the difference between the current parameter value and the value taken when the event last triggered.
|
is_incrementIndicates whether this is an increment value event. This variable is applicable only in cases where ONEP_INTERFACE_STATISTICS_TYPE_INCREMENT is specified in InterfaceStatisticsFilter criteria.
|
is_exit_eventIndicates whether this event is an exist event. This event is triggered due to an exit criteria match.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:29 2014 | http://epydoc.sourceforge.net |