Exemplo n.º 1
0
 def notify(self, event, row, updates=None):
     # Do not handle the notification if the event lock is requested,
     # but not granted by the ovsdb-server.
     if self.is_lock_contended:
         return
     row = idlutils.frozen_row(row)
     self.notify_handler.notify(event, row, updates)
Exemplo n.º 2
0
 def notify(self, event, row, updates=None, global_=False):
     row = idlutils.frozen_row(row)
     matching = self.matching_events(event, row, updates, global_)
     for match in matching:
         self.notifications.put((match, event, row, updates))
Exemplo n.º 3
0
 def notify(self, event, row, updates=None):
     row = idlutils.frozen_row(row)
     super(RowEventHandler, self).notify(event, row, updates)
Exemplo n.º 4
0
 def notify(self, event, row, updates=None):
     row = idlutils.frozen_row(row)
     super().notify(event, row, updates)