'Trunk data model change from the server.'

def handle_trunks(self, context, resource_type, trunks, event_type):

    for trunk in trunks:
        if (event_type in (events.UPDATED, events.CREATED)):
            self._tapi.put_trunk(trunk.port_id, trunk)
            self.wire_trunk(context, trunk)
        elif (event_type == events.DELETED):
            self._tapi.put_trunk(trunk.port_id, None)
            self._plumber.delete_trunk_subports(trunk)
