I think the similar way to do it as you used to is:
$ vdsm-client Volume setLegality storagedomainID=sdUUID
storagepoolID=spUUID imageID=imgUUID legality=LEGAL volumeID=volUUID
Where the values you set should be inside quotes for example 'LEGAL'.

On Wed, Apr 3, 2019 at 1:08 PM <nico...@devels.es> wrote:
>
> Hi Benny,
>
> Thanks for the help.
>
> Could you please tell me what job_uuid and vol_gen should be replaced
> by? Should I just put any UUID for the job?
>
> Thanks.
>
> El 2019-04-03 09:52, Benny Zlotnik escribió:
> > 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 <nico...@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@ovirt.org
> >> To unsubscribe send an email to users-le...@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/T7QYVJMDWNRUOKLOZGEA7QPDBKLX4TO2/
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/LUZX6W6KWRZWHDRDJPH6PIEGRVNAGVED/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/RMQL7YGTBFQVMBTW574KGHPPQPHEMWXO/

Reply via email to