'Stops ongoing transfers for a SnapMirror relationship.'

def abort_snapmirror(self, source_vserver, source_volume, destination_vserver, destination_volume, clear_checkpoint=False):

    self._ensure_snapmirror_v2()
    api_args = {'source-volume': source_volume, 'source-vserver': source_vserver, 'destination-volume': destination_volume, 'destination-vserver': destination_vserver, 'clear-checkpoint': ('true' if clear_checkpoint else 'false')}
    try:
        self.send_request('snapmirror-abort', api_args)
    except netapp_api.NaApiError as e:
        if (e.code != netapp_api.ENOTRANSFER_IN_PROGRESS):
            raise
