it should be something like this:
$ cat update.json
{
"job_id":"<job_uuid>",
"vol_info": {
"sd_id": "<sd_id>",
"img_id": "<img_id>",
"vol_id": "<vol_id>",
"generation": "<vol_gen>"
},
"legality": "LEGAL"
}
}
$ vdsm-client SDM update_volume -f update.json
On Wed, Apr 3, 2019 at 11:48 AM <nicolas(a)devels.es> wrote:
>
> Hi,
>
> In oVirt 4.1 we used this command to set a volume as LEGAL:
>
> vdsClient -s <host> setVolumeLegality sdUUID spUUID imgUUID leafUUID
> LEGAL
>
> What would be the equivalent to this command using vdsm-client in oVirt
> 4.3?
>
> Thanks.
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T7QYVJMDWNR...