Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad BoolOpOr AttributeLoad NameLoad attr Str BoolOpOr AttributeLoad NameLoad attr Str BoolOpOr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num NameLoad Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call NameLoad Num NameLoad Num Return Call NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Str ClassDef bases NameLoad NameLoad body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body While NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Break handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return If BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr TryExcept body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad body If NameLoad body Return ListLoad orelse Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr TryExcept body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr handlers ExceptHandler type NameLoad body If NameLoad body Return ListLoad orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return ListLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Return ListLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return ListLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIs NameLoad NameLoad body Return ListLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body For NameStore AttributeLoad NameLoad attr body If CompareIn Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad Str Break If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad orelse TryExcept body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad orelse TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore TupleLoad AttributeLoad NameLoad attr NameLoad body For NameStore TupleLoad AttributeLoad NameLoad attr NameLoad body Expr Yield Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Expr Yield Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return TupleLoad NameLoad Str orelse If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad body Return TupleLoad NameLoad Str orelse Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assert CompareIn NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str For TupleStore TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad NameLoad NameLoad NameLoad body Assign NameStore ListLoad If CompareIn NameLoad AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListComp Dict Str AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return ListComp NameLoad comprehension NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr UnaryOpNot BoolOpAnd CompareEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A logging N/A traceback threading Thread Queue Queue bagpipe.bgp.engine RouteEvent Subscription Unsubscription bagpipe.bgp.engine.worker Worker bagpipe.bgp.engine.bgp_peer_worker BGPPeerWorker bagpipe.bgp.common.looking_glass LookingGlass LGMap bagpipe.bgp.common logDecorator bagpipe.exabgp.structure.address AFI SAFI bagpipe.exabgp.message.update.attribute.communities RouteTarget N/A log N/A N/A logging getLogger __name__ WorkerCleanupEvent N/A object N/A __init__ N/A N/A self worker N/A N/A N/A N/A self worker worker N/A __repr__ N/A N/A self N/A N/A N/A N/A WorkerCleanupEvent:%s N/A N/A self worker name N/A N/A Match N/A object N/A __init__ N/A N/A self afi safi routeTarget N/A N/A N/A N/A isinstance afi AFI N/A N/A isinstance safi SAFI N/A N/A N/A routeTarget None N/A isinstance routeTarget RouteTarget N/A N/A self afi afi N/A N/A self safi safi N/A N/A self routeTarget routeTarget N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A repr self N/A __repr__ N/A N/A self N/A N/A N/A N/A match:%s/%s,%s N/A N/A N/A self afi * N/A N/A self safi * N/A N/A self routeTarget * N/A __cmp__ N/A N/A self other N/A N/A N/A N/A isinstance other Match N/A self_afi N/A N/A self afi N/A AFI 0 N/A self_safi N/A N/A self safi N/A SAFI 0 N/A self_rt N/A N/A self routeTarget N/A RouteTarget 0 None 0 N/A other_afi N/A N/A other afi N/A AFI 0 N/A other_safi N/A N/A other safi N/A SAFI 0 N/A other_rt N/A N/A other routeTarget N/A RouteTarget 0 None 0 N/A N/A cmp N/A self_afi self_safi self_rt N/A other_afi other_safi other_rt N/A N/A N/A StopEvent StopEvent RouteTableManager N/A Thread LookingGlass N/A N/A 
    This singleton class will dispatch events between Workers.
    Events relates to BGP routes that are announced or withdrawn by workers.
    Workers subscribe to events by indicating AFI, SAFI, Route Targets in which
    they are interested.
    There can be workers responsible for handling services locally (e.g. a VPN
    instance) and workers that are BGP peers.

    Though sources of routes are typically Workers, they don't need to be; any
    class can source a route.
     WorkersAndEntries N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self workers N/A set N/A N/A self entries N/A set N/A __repr__ N/A N/A self N/A N/A N/A N/A workers: %s
entries: %s N/A N/A self workers N/A self entries N/A N/A __init__ N/A N/A self N/A N/A N/A N/A N/A Thread __init__ self name RouteTableManager N/A N/A N/A self setDaemon True N/A N/A self _match2workersAndEntries N/A N/A N/A self _worker2matches N/A N/A N/A self _source_nlri2entry N/A N/A N/A self _source2entries N/A N/A N/A self _queue N/A Queue N/A stop N/A N/A self N/A N/A N/A N/A N/A self enqueue StopEvent N/A N/A logDecorator logInfo run N/A N/A self N/A N/A N/A True N/A N/A N/A N/A log debug RouteTableManager waiting on queue N/A event N/A N/A N/A self _queue get N/A N/A N/A log debug RouteTableManager received event %s event N/A N/A N/A N/A N/A event __class__ RouteEvent N/A N/A N/A N/A self _receiveRouteEvent event N/A N/A N/A N/A event __class__ Subscription N/A N/A N/A N/A self _workerSubscribes event N/A N/A N/A N/A event __class__ Unsubscription N/A N/A N/A N/A self _workerUnsubscribes event N/A N/A N/A N/A event __class__ WorkerCleanupEvent N/A N/A N/A N/A self _workerCleanup N/A event worker N/A N/A N/A event StopEvent N/A N/A N/A N/A log info StopEvent => breaking main loop N/A N/A N/A N/A Exception N/A e N/A N/A N/A N/A log error Exception during processing of event: %s N/A repr e N/A N/A N/A log error     event was: %s event N/A N/A N/A log error %s N/A N/A traceback format_exc N/A N/A N/A log debug RouteTableManager queue size: %d N/A N/A N/A self _queue qsize N/A N/A N/A log info Out of main loop N/A enqueue N/A N/A self event N/A N/A N/A N/A N/A N/A self _queue put event N/A _checkMatch2workersAndEntriesCleanup N/A N/A self match N/A N/A N/A N/A N/A item N/A N/A self _match2workersAndEntries N/A match N/A N/A N/A KeyError N/A N/A N/A N/A log warning why are we here ? N/A N/A N/A N/A N/A len N/A item workers 0 N/A N/A len N/A item entries 0 N/A N/A N/A N/A self _match2workersAndEntries N/A match N/A _match2workersAndEntriesLookupCreate N/A N/A self match N/A N/A N/A N/A N/A N/A N/A self _match2workersAndEntries N/A match N/A N/A N/A KeyError N/A N/A wa N/A N/A RouteTableManager WorkersAndEntries N/A N/A N/A self _match2workersAndEntries N/A match wa N/A wa N/A _match2entries N/A N/A self match createIfNone emptyListIfNone N/A False True N/A N/A createIfNone N/A N/A N/A N/A N/A self _match2workersAndEntriesLookupCreate match entries N/A N/A N/A N/A N/A N/A self _match2workersAndEntries N/A match entries N/A N/A N/A KeyError N/A N/A emptyListIfNone N/A N/A N/A N/A N/A N/A _match2workers N/A N/A self match createIfNone emptyListIfNone N/A False True N/A N/A createIfNone N/A N/A N/A N/A N/A self _match2workersAndEntriesLookupCreate match workers N/A N/A N/A N/A N/A N/A self _match2workersAndEntries N/A match workers N/A N/A N/A KeyError N/A N/A emptyListIfNone N/A N/A N/A N/A N/A N/A _source2entriesAddEntry N/A N/A self entry N/A N/A N/A N/A N/A entries N/A N/A self _source2entries N/A N/A entry source N/A N/A N/A KeyError N/A N/A entries N/A set N/A N/A N/A self _source2entries N/A N/A entry source entries N/A N/A N/A entries add entry N/A _source2entriesRemoveEntry N/A N/A self entry N/A N/A N/A N/A N/A entries N/A N/A self _source2entries N/A N/A entry source N/A N/A N/A log debug _source2entries[ entry.worker ] = %s  entries N/A N/A N/A entries discard entry N/A N/A N/A KeyError N/A N/A N/A N/A log debug (attempt at removing a non existing entry from self._source2entries[ entry.source ] : %s) entry N/A N/A getWorkerSubscriptions N/A N/A self worker N/A N/A N/A 
        the returned entries should *not* be modified by caller
        (TODO: protect worker object by making their variables private)
         N/A N/A worker N/A self _worker2matches N/A N/A N/A N/A N/A matches N/A N/A self _worker2matches N/A worker N/A N/A matches None N/A N/A N/A N/A N/A N/A sorted matches N/A getWorkerRouteEntries N/A N/A self worker N/A N/A N/A 
        the returned entries should *not* be modified by caller
        (TODO: protect Entry objects by making their variables private)
         N/A N/A worker N/A self _source2entries N/A N/A N/A N/A N/A entries N/A N/A self _source2entries N/A worker N/A N/A entries None N/A N/A N/A N/A N/A entries N/A _workerSubscribes N/A N/A self sub N/A N/A N/A N/A isinstance N/A sub worker Worker N/A N/A N/A log info workerSubscribes: %s sub N/A worker N/A sub worker N/A match N/A Match N/A sub afi N/A sub safi N/A sub routeTarget N/A N/A N/A N/A N/A self _match2workers match createIfNone True add worker N/A N/A worker N/A self _worker2matches N/A N/A N/A N/A self _worker2matches N/A worker N/A set N/A entry N/A N/A self _match2entries match N/A N/A N/A N/A log debug Found a entry for this match: %s entry N/A event N/A RouteEvent N/A RouteEvent ADVERTISE entry N/A N/A shouldDispatch reason N/A N/A self _shouldDispatch event worker N/A shouldDispatch N/A N/A rt N/A entry routeTargets N/A N/A N/A N/A Match N/A entry afi N/A entry safi rt N/A N/A self _worker2matches N/A worker N/A N/A N/A shouldDispatch reason N/A False worker already had a subscription for this route N/A N/A shouldDispatch N/A N/A N/A N/A log info Dispatching re-synthesized event for %s entry N/A N/A N/A worker enqueue event N/A N/A N/A N/A log info %s => not dispatching re-synthesized event for %s reason entry N/A N/A N/A N/A N/A self _worker2matches N/A worker add match N/A _workerUnsubscribes N/A N/A self sub N/A N/A N/A N/A isinstance N/A sub worker Worker N/A match N/A Match N/A sub afi N/A sub safi N/A sub routeTarget N/A N/A N/A sub worker N/A self _worker2matches N/A N/A N/A N/A log warning worker %s unsubs'd from %s but wasn't tracked yet N/A sub worker match N/A N/A N/A N/A N/A N/A N/A N/A self _worker2matches N/A N/A sub worker remove match N/A N/A N/A KeyError N/A N/A N/A N/A log warning worker %s unsubs' from %s but this match wasnot tracked for this worker (should not happen, this is a bug) N/A sub worker match N/A entry N/A N/A self _match2entries match emptyListIfNone True N/A N/A intersect N/A N/A N/A set N/A N/A self _matchesFor N/A entry afi N/A entry safi N/A entry routeTargets intersection N/A N/A self _worker2matches N/A N/A sub worker N/A N/A N/A len intersect 0 N/A N/A N/A N/A log debug Will not synthesize withdraw event for %s, because worker subscribed to %s entry intersect N/A N/A N/A N/A log debug Found a entry for this match: %s entry N/A event N/A RouteEvent N/A RouteEvent WITHDRAW entry N/A N/A shouldDispatch reason N/A N/A self _shouldDispatch event N/A sub worker N/A shouldDispatch N/A N/A N/A N/A log info Dispatching re-synthesized event for %s entry N/A N/A N/A N/A sub worker enqueue event N/A N/A N/A N/A log info %s => not dispatching re-synthesized event for %s reason entry N/A N/A match N/A self _match2workersAndEntries N/A N/A N/A N/A log warning worker %s unsubscribed from %s but we had no such subscription yet N/A sub worker match N/A N/A N/A N/A N/A N/A N/A N/A self _match2workers match remove N/A sub worker N/A N/A N/A KeyError N/A N/A N/A N/A log warning worker %s unsubscribed from %s but was not subscribed yet N/A sub worker match N/A N/A N/A self _checkMatch2workersAndEntriesCleanup match N/A _matchesFor N/A N/A self afi safi routeTargets N/A N/A N/A _afi N/A N/A Subscription ANY_AFI afi N/A N/A _safi N/A N/A Subscription ANY_SAFI safi N/A N/A N/A N/A Match _afi _safi None N/A N/A routeTargets None N/A N/A rt routeTargets N/A N/A N/A N/A Match _afi _safi rt N/A _propagateRouteEvent N/A N/A self routeEvent exceptWorkers N/A None N/A N/A Propagate routeEvent to workers subscribed to the route RTs
        or wildcards, except the workers in exceptWorkers. Returns the list of
        workers to which the event was propagated. N/A N/A N/A log debug Propagate event to interested workers: %s routeEvent N/A re N/A routeEvent routeEntry N/A N/A exceptWorkers None N/A N/A exceptWorkers N/A N/A targetWorkers N/A set N/A match N/A N/A self _matchesFor N/A re afi N/A re safi N/A re routeTargets N/A N/A N/A N/A log debug Finding interested workers for match %s match N/A interestedWorkers N/A N/A self _match2workers match emptyListIfNone True N/A N/A N/A log debug    Workers interested in this match: %s interestedWorkers N/A worker interestedWorkers N/A N/A N/A shouldDispatch reason N/A N/A self _shouldDispatch routeEvent worker N/A shouldDispatch N/A N/A N/A worker exceptWorkers N/A N/A N/A N/A log debug Will dispatch event to %s: %s worker routeEvent N/A N/A N/A targetWorkers add worker N/A N/A N/A N/A log debug Decided not to dispatch to %s, based on exceptWorkers: %s worker routeEvent N/A N/A N/A N/A log debug Decided not to dispatch to %s: %s (%s) worker reason routeEvent N/A worker targetWorkers N/A N/A N/A N/A log info Dispatching event to %s: %s worker routeEvent N/A N/A N/A worker enqueue routeEvent N/A targetWorkers N/A _receiveRouteEvent N/A N/A self routeEvent N/A N/A N/A N/A N/A log info receive: %s routeEvent N/A entry N/A routeEvent routeEntry N/A N/A N/A log debug Try to find a entry from same peer with same nlri N/A N/A N/A replacedEntry N/A N/A self _source_nlri2entry N/A N/A N/A entry source N/A entry nlri N/A N/A N/A KeyError N/A N/A replacedEntry None N/A N/A N/A log debug    Result: %s replacedEntry N/A N/A N/A replacedEntry None N/A N/A routeEvent type N/A RouteEvent WITHDRAW N/A N/A N/A N/A log warning WITHDRAW but found no route that we could remove: %s N/A routeEvent routeEntry N/A N/A N/A N/A routeEvent type N/A RouteEvent ADVERTISE N/A N/A N/A replacedEntry N/A routeEvent routeEntry N/A N/A N/A N/A log warning The route advertized is the same as the one previously advertized by the source, ignoring N/A N/A N/A N/A routeEvent setReplacedRoute replacedEntry N/A workersAlreadyNotified N/A N/A self _propagateRouteEvent routeEvent N/A N/A workersAlreadyNotified None N/A N/A replacedEntry None N/A N/A N/A N/A log debug Synthesizing a withdraw event for replaced route %s replacedEntry N/A removalEvent N/A RouteEvent N/A RouteEvent WITHDRAW replacedEntry N/A routeEvent source N/A N/A N/A self _propagateRouteEvent removalEvent workersAlreadyNotified N/A match N/A N/A self _matchesFor N/A replacedEntry afi N/A replacedEntry safi N/A replacedEntry routeTargets N/A N/A N/A N/A N/A N/A N/A N/A self _match2entries match discard replacedEntry N/A N/A N/A KeyError N/A N/A N/A N/A log error Trying to remove a route from a match, but match %s not found - not supposed to happen (route: %s) match replacedEntry N/A N/A N/A self _checkMatch2workersAndEntriesCleanup match N/A N/A N/A self _source2entriesRemoveEntry replacedEntry N/A N/A N/A routeEvent type N/A RouteEvent ADVERTISE N/A N/A match N/A N/A self _matchesFor N/A entry afi N/A entry safi N/A entry routeTargets N/A N/A N/A N/A N/A N/A self _match2entries match createIfNone True add entry N/A N/A N/A self _source2entriesAddEntry entry N/A N/A N/A self _source_nlri2entry N/A N/A N/A entry source N/A entry nlri entry N/A N/A N/A N/A N/A N/A self _source_nlri2entry N/A N/A N/A entry source N/A entry nlri N/A N/A N/A KeyError N/A N/A N/A N/A log error Withdraw, but nothing removed in _sourcenlri2entryRemove N/A _shouldDispatch N/A N/A self routeEvent targetWorker N/A N/A N/A 
        returns a (boolean,string) tuple
        the string contains the reason why the routeEvent should not be
        dispatched to targetWorker
         N/A N/A N/A routeEvent source targetWorker N/A N/A N/A False not dispatching an update back to its source N/A N/A N/A N/A isinstance N/A routeEvent source BGPPeerWorker N/A isinstance targetWorker BGPPeerWorker N/A N/A N/A False do not dispatch a route between BGP peers N/A N/A N/A True N/A _workerCleanup N/A N/A self worker N/A N/A N/A 
        Consider all routes announced by this worker as withdrawn.
        Consider this worker unsubscribed from all of its current
        subscriptions.
         N/A N/A N/A log info Cleanup for worker %s N/A worker name N/A N/A worker N/A self _source2entries N/A N/A entries N/A N/A self _source2entries N/A worker N/A N/A N/A log info   Preparing to withdraw %d routes that were advertised by worker N/A len entries N/A entry entries N/A N/A N/A N/A log info   Enqueue event to Withdraw route %s entry N/A N/A N/A self enqueue N/A RouteEvent N/A RouteEvent WITHDRAW entry N/A N/A N/A self _source2entries N/A worker N/A N/A N/A N/A log info (we had no trace of %s in _source2entries) worker N/A N/A worker N/A self _worker2matches N/A N/A match N/A N/A self _worker2matches N/A worker N/A N/A N/A match N/A self _match2workersAndEntries N/A N/A N/A N/A N/A self _match2workers match remove worker N/A N/A N/A self _worker2matches N/A worker N/A _dumpState N/A N/A self N/A N/A N/A N/A N/A N/A log isEnabledFor N/A logging DEBUG N/A N/A N/A dump N/A N/A N/A N/A dump append ~~~ Worker -> Matches ~~~ N/A worker N/A N/A N/A self _worker2matches keys N/A N/A N/A N/A dump append N/A   %s worker N/A matches N/A list N/A N/A self _worker2matches N/A worker N/A N/A N/A matches sort N/A match matches N/A N/A N/A N/A dump append N/A     %s match N/A N/A N/A dump append 
~~~ Source -> Entries ~~~ N/A source N/A N/A N/A self _source2entries keys N/A N/A N/A N/A dump append N/A   %s source N/A entry N/A N/A self _source2entries N/A source N/A N/A N/A N/A dump append N/A     %s entry N/A match2workerDump N/A N/A match2entriesDump N/A N/A matches N/A list N/A N/A N/A self _match2workersAndEntries keys N/A N/A N/A matches sort N/A match matches N/A N/A N/A N/A match2workerDump append N/A   %s match N/A N/A N/A match2entriesDump append N/A   %s match N/A worker N/A N/A self _match2workers match N/A N/A N/A N/A match2workerDump append N/A     %s worker N/A re N/A N/A self _match2entries match N/A N/A N/A N/A match2entriesDump append N/A     %s re N/A N/A N/A dump append N/A 
~~~ Match -> Workers ~~~
%s
 N/A N/A join match2workerDump N/A N/A N/A dump append N/A ~~~ Match -> Entries ~~~
%s
 N/A N/A join match2entriesDump N/A N/A N/A dump append ~~~ (source,nlri) ->  entries ~~~ N/A N/A N/A source nlri entry N/A N/A N/A self _source_nlri2entry iteritems N/A N/A N/A N/A dump append N/A   (%s, %s): %s N/A source nlri entry N/A N/A N/A log debug RouteTableManager data dump:

%s
 N/A N/A join dump N/A getLGMap N/A N/A self N/A N/A N/A N/A workers routes N/A N/A LGMap COLLECTION N/A N/A self getLGWorkerList N/A self getLGWorkerFromPathItem N/A N/A LGMap SUBTREE N/A self getLGRoutes N/A getLGRoutes N/A N/A self pathPrefix N/A N/A N/A result N/A N/A match_IPVPN N/A Match N/A AFI N/A AFI ipv4 N/A SAFI N/A SAFI mpls_vpn N/A Subscription ANY_RT N/A match_EVPN N/A Match N/A AFI N/A AFI l2vpn N/A SAFI N/A SAFI evpn N/A Subscription ANY_RT N/A match_RTC N/A Match N/A AFI N/A AFI ipv4 N/A SAFI N/A SAFI rtc N/A Subscription ANY_RT N/A match N/A match_IPVPN match_EVPN match_RTC N/A N/A matchResult N/A N/A N/A match N/A self _match2workersAndEntries N/A N/A entry N/A N/A self _match2entries match N/A N/A N/A N/A matchResult append N/A N/A entry getLookingGlassInfo pathPrefix N/A N/A result N/A N/A repr match matchResult N/A result N/A getLGWorkerList N/A N/A self N/A N/A N/A N/A N/A id N/A worker name N/A worker N/A N/A N/A self _worker2matches keys N/A getLGWorkerFromPathItem N/A N/A self pathItem N/A N/A N/A worker N/A N/A N/A self _worker2matches keys N/A N/A N/A N/A worker name pathItem N/A N/A worker N/A getAllRoutesButRTC N/A N/A self N/A N/A N/A N/A N/A N/A re N/A re N/A N/A N/A self _match2workersAndEntries N/A N/A Match N/A Subscription ANY_AFI N/A Subscription ANY_SAFI N/A Subscription ANY_RT entries N/A N/A N/A N/A re afi N/A AFI N/A AFI ipv4 N/A N/A re safi N/A SAFI N/A SAFI rtc N/A N/A N/A KeyError N/A N/A N/A N/A getLocalRoutesCount N/A N/A self N/A N/A N/A N/A reduce N/A N/A N/A count entry N/A N/A count N/A N/A isinstance N/A entry source BGPPeerWorker N/A N/A self getAllRoutesButRTC 0 N/A getReceivedRoutesCount N/A N/A self N/A N/A N/A N/A reduce N/A N/A N/A count entry N/A N/A count N/A isinstance N/A entry source BGPPeerWorker N/A N/A self getAllRoutesButRTC 0 N/A N/A