Change in ovirt-engine-sdk-java[master]: Add examples of how to work with affinity labels

Code Review gerrit at ovirt.org
Mon Nov 21 15:38:01 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:

  - AddAffinityLabel.java - Create new affinity label
  - AssignAffinityLabelToVm.java - Assign affinity label to VM
  - ListAffinityLabels.java - List all affinity labels and its VMs

Change-Id: I760789ef96d5cfcd07c82c8dcb67429cb89a185a
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
A sdk/src/test/java/org/ovirt/engine/sdk4/examples/AddAffinityLabel.java
A sdk/src/test/java/org/ovirt/engine/sdk4/examples/AssignAffinityLabelToVm.java
A sdk/src/test/java/org/ovirt/engine/sdk4/examples/ListAffinityLabels.java
3 files changed, 186 insertions(+), 0 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I760789ef96d5cfcd07c82c8dcb67429cb89a185a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
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