Change in ovirt-engine-sdk[sdk_4.0]: Add examples of how to work with affinity labels

Code Review gerrit at ovirt.org
Mon Nov 21 15:07:49 UTC 2016


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

Ondra Machacek has submitted this change and it was merged.

Change subject: Add examples of how to work with affinity labels
......................................................................


Add examples of how to work with affinity labels

This patch adds examples of how to work with affinity lables.
This patch consist of following examples:

 - add_affinity_label.py - Create new affinity label
 - assign_affinity_label_to_vm.py - Assign affinity label to VM
 - list_affinity_labels.py - List all affinity labels and its VMs

Change-Id: I0abd9474cde59c9ff5e7ef59a963b28e85f6d9ab
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 5548b7d8c7a9478311fd107b0b3c3846dedf0b80)
---
A sdk/examples/add_affinity_label.py
A sdk/examples/assign_affinity_label_to_vm.py
A sdk/examples/list_affinity_labels.py
3 files changed, 176 insertions(+), 0 deletions(-)

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



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

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



More information about the Engine-commits mailing list