Change in ovirt-engine-sdk[sdk_4.0]: Clarify the units of `provisioned_size`

Code Review gerrit at ovirt.org
Fri Nov 4 11:56:44 UTC 2016


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Clarify the units of `provisioned_size`
......................................................................


Clarify the units of `provisioned_size`

This patch changes the example to add a VM disk so that it is clearer
that size of a disk has to be specified in bytes. It also changes the
example to use a more realistic size, 10 GiB, as it currently the size
is 1 MiB, which isn't realistic.

Change-Id: I6a80abef018a3d58dcccfb4f99e4d18ba7d7c6ef
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 196961295b3f4b549067b1c2cab659da594edd69)
---
M sdk/examples/add_vm_disk.py
1 file changed, 6 insertions(+), 3 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/66078
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6a80abef018a3d58dcccfb4f99e4d18ba7d7c6ef
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list