On Fri, Sep 6, 2019, 19:02 <scott.fitzgerald@oracle.com> wrote:
Hi Nir,

My colleague found a solution:

import static org.ovirt.engine.sdk4.builders.Builders.dataCenter;
.
.
.
systemService.dataCentersService().dataCenterService(datCenter.id()).update().dataCenter(dataCenter().local(true/false)).send();

Depending on the true/false the value can be changed between Shared and Local.

It looks like a bug, don't depend on it.


_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@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/devel@ovirt.org/message/G5QDTZI7PTPM32MEX7TPUHULAEF2HF57/