From f1e82a7b4cc098e2a664f11a8c0e63a980b82274 Mon Sep 17 00:00:00 2001 From: Pavel Kulyov Date: Sun, 24 Dec 2023 23:05:15 +0300 Subject: [PATCH] TMP --- pyroute2/ndb/objects/neighbour.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyroute2/ndb/objects/neighbour.py b/pyroute2/ndb/objects/neighbour.py index f8f55390b..e086556e4 100644 --- a/pyroute2/ndb/objects/neighbour.py +++ b/pyroute2/ndb/objects/neighbour.py @@ -14,6 +14,7 @@ def load_ndmsg(schema, target, event): # ignore events with ifindex == 0 # if event['ifindex'] == 0: + schema.log.info("GOT IFINDEX 0") return # if event.get_attr('NDA_IFINDEX') is None: @@ -22,15 +23,18 @@ def load_ndmsg(schema, target, event): # AF_BRIDGE events # if event['family'] == AF_BRIDGE: + schema.log.info(f"HIT AF_BRIDGE: {event}") # # bypass for now # try: schema.load_netlink('af_bridge_fdb', target, event, propagate=True) except Exception: + schema.log.info("RESCHEDULING") raise RescheduleException() else: + schema.log.info(str(event)) schema.load_netlink('neighbours', target, event)