#API for snapmirror update-ls-set
1 messages · Page 1 of 1 (latest)
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 🤪 ).