docs: def handle_trunks(self, trunks, event_type):
          """Trunk data model change from the server."""
  
          LOG.debug("Trunks event received: %(event_type)s. Trunks: %(trunks)s",
                    {'event_type': event_type, 'trunks': trunks})
  
          if event_type == events.DELETED:
              # The port trunks have been deleted. Remove them from cache.
              for trunk in trunks:
                  self._trunks.pop(trunk.id, None)
          else:
              for trunk in trunks:
                  self._trunks[trunk.id] = trunk
                  self._setup_trunk(trunk)