I am trying to start a vm in paused mode, but running into issues. I'm able to connect to the API and start vms normally, but I cannot seem to get the params part right for staring paused.
In this example, vm is the virtual machine object obtained from the api with the vm in question.
from ovirtsdk.xml import params
vm.start(params.Action.set_pause()) This gives me a "TypeError: unbound method set_pause() must be called with Action instance as first argument (got nothing instead)"
self.vm.start(params.Action.set_pause(pause=True)) This gets me the same thing.