'Get info regarding SnapMirror relationship/s for given params.'

def get_snapmirrors(self, src_backend_name, dest_backend_name, src_flexvol_name=None, dest_flexvol_name=None):

    dest_backend_config = config_utils.get_backend_configuration(dest_backend_name)
    dest_vserver = dest_backend_config.netapp_vserver
    dest_client = config_utils.get_client_for_backend(dest_backend_name, vserver_name=dest_vserver)
    src_backend_config = config_utils.get_backend_configuration(src_backend_name)
    src_vserver = src_backend_config.netapp_vserver
    snapmirrors = dest_client.get_snapmirrors(src_vserver, src_flexvol_name, dest_vserver, dest_flexvol_name, desired_attributes=['relationship-status', 'mirror-state', 'source-vserver', 'source-volume', 'destination-vserver', 'destination-volume', 'last-transfer-end-timestamp', 'lag-time'])
    return snapmirrors
