Package onep :: Package discovery :: Module DiscoveryEvent :: Class DiscoveryEvent
[frames] | no frames]

Class DiscoveryEvent


The DiscoveryEvent returns the event information associated with the service set discovery event trigger.

The service set discovery event is triggered by the network element when a given service set is enabled or disabled on a network element. The DiscoveryEvent contains information about the name and version of the service set and information about the service set state change that triggered the event notification. The DiscoveryEvent also returns the information about the network element on which the service set change occurred, including the directly connected neighbors of the root network element. When a service set discovery occurs, the DiscoveryEvent is passed to the event callback handler.

Instance Methods

Inherited from core.event.EventObject.EventObject: __init__

Inherited from core.event.AsyncMsg.AsyncMsg: do_event

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

Class Variables
  log = logging.getLogger('onep.'+ __name__)

Inherited from core.event.AsyncMsg.AsyncMsg: OnepAsyncMsgType

Instance Variables
Enum description = None
Gets the service set description for which the event was triggered.
Enum state = None
Gets the new service set state that caused the event trigger.
Version version = None
Gets the service sets version for which the event was triggered.
str ip_address = None
Gets the IP address for the network element for which the service change notification was received.
Enum defined in DiscoveryFilter type_ = None
Gets the new service set discovery type.

Inherited from core.event.EventObject.EventObject: event_handle, event_type

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__