#API for snapmirror update-ls-set

1 messages · Page 1 of 1 (latest)

cobalt field
#

Hi All, Do we have API or Python Client Module for snapmirror update-ls-set,
I checked with the document, but cannot find any related API.

soft shale
#

I couldn't find anything either. I use the /private/cli to update a load sharing mirror:

POST /api/private/cli/snapmirror/update-ls-set

with a JSON body:

{
"source-path": "{cluster}://{svm}/{rootvolumename}"
}

This type of relationship does not show up in the /snapmirror/relationships queries and without a relationship ID it's not possible to use REST to do an update. Interestingly, the ONTAP Ansible module (na_ontap_snapmirror) can create load_sharing relationships but a quick look at the .py and seems to use ZAPI only for this (could be wrong 🤪 ).