Package onep :: Package routing :: Module RIBRouteStateEvent :: Class RIBRouteStateEvent
[frames] | no frames]

Class RIBRouteStateEvent


An event which indicates that a route state event occurred in a network element.

Instance Methods
 
__init__(self, element, eventHandle, scope, route, state)
Constructor for EventObject class.

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

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

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties
L3UnicastScope scope
The scope for a route state event.
L3UnicastRoute route
The route for a route state event.
RouteState state
The state of a route state event.

Inherited from object: __class__

Method Details

__init__(self, element, eventHandle, scope, route, state)
(Constructor)

 

Constructor for EventObject class.

Parameters:
  • eventHandle - A unique ID to identify which event listener should receive the event .
  • event_type - The type of the event.
Overrides: object.__init__
(inherited documentation)

Property Details

scope

The scope for a route state event.

Get Method:
_get_scope(self)
Type:
L3UnicastScope

route

The route for a route state event.

Get Method:
_get_route(self)
Type:
L3UnicastRoute

state

The state of a route state event.

Get Method:
_get_state(self)
Type:
RouteState