'Gets one or more SnapMirror relationships.
Either the source or destination info may be omitted.
Desired attributes should be a flat list of attribute names.'

def get_snapmirrors(self, source_vserver, source_volume, destination_vserver, destination_volume, desired_attributes=None):

    self._ensure_snapmirror_v2()
    if (desired_attributes is not None):
        desired_attributes = {'snapmirror-info': {attr: None for attr in desired_attributes}}
    result = self._get_snapmirrors(source_vserver=source_vserver, source_volume=source_volume, destination_vserver=destination_vserver, destination_volume=destination_volume, desired_attributes=desired_attributes)
    snapmirrors = []
    for snapmirror_info in result:
        snapmirror = {}
        for child in snapmirror_info.get_children():
            name = self._strip_xml_namespace(child.get_name())
            snapmirror[name] = child.get_content()
        snapmirrors.append(snapmirror)
    return snapmirrors
