I'm using the python sdk to detroy VM.

I supposed the param action.vm.disks.detach_only is the same thing that the 
check box "Remove Disk(s)"

But once i try to manage it with:
action_params = params.Action(
    vm=params.VM(
        disks=params.Disks(
            detach_only=detach_only_flag,
        ),
    ),
)

The disk is not destroyed, whatever detach_only_flag is True of False. If 
detach_only is not defined in params.Disks, everything is fine, the disk is 
destroyed.

But the included comments in brokers.py says:
[@param action.vm.disks.detach_only: boolean]

Did I miss something ?

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to