'Break all existing SnapMirror relationships for a given back end.'

def break_snapmirrors(self, config, src_backend_name, src_flexvol_names, chosen_target):

    failed_to_break = []
    backend_names = self.get_replication_backend_names(config)
    for dest_backend_name in backend_names:
        for src_flexvol_name in src_flexvol_names:
            dest_flexvol_name = src_flexvol_name
            try:
                self.break_snapmirror(src_backend_name, dest_backend_name, src_flexvol_name, dest_flexvol_name)
            except netapp_api.NaApiError:
                msg = _('Unable    to    break    SnapMirror    between    FlexVol    %(src)s    and    Flexvol    %(dest)s.    Associated    volumes    will    have    their    replication    state    set    to    error.')
                payload = {'src': ':'.join([src_backend_name, src_flexvol_name]), 'dest': ':'.join([dest_backend_name, dest_flexvol_name])}
                if (dest_backend_name == chosen_target):
                    failed_to_break.append(src_flexvol_name)
                LOG.exception(msg, payload)
    return failed_to_break
