Yes. It’s actually straightforward:
def rename(self, name: str):
r = self.service.update(types.Vm(name=name))
assert r.name == name
self.service is the instance of VmService corresponding to the VM
Thank you
On Mar 18, 2021, 5:24 AM -0400, Benny Zlotnik , wrote:
> Probably with
Probably with the update method, like in the DC example[1], it
shouldn't be hard to translate this to a VM
[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/update_data_center.py#L52
On Thu, Mar 18, 2021 at 11:15 AM Gerard Weatherby wrote:
>
> Is there an API call in the O
2 matches
Mail list logo