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

Code Review gerrit at ovirt.org
Mon Nov 21 14:43:30 UTC 2016


>From Juan Hernandez <juan.hernandez at redhat.com>:

Juan Hernandez 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.rb - Create new affinity label
  - assign_affinity_label_to_vm.rb - Assign affinity label to VM
  - list_affinity_labels.rb - List all affinity labels and its VMs

Change-Id: I72338fce07c59bdbd7b66a0e1027ad0b0a9beb20
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
A sdk/examples/add_affinity_label.rb
A sdk/examples/assign_affinity_label_to_vm.rb
A sdk/examples/list_affinity_labels.rb
3 files changed, 162 insertions(+), 0 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I72338fce07c59bdbd7b66a0e1027ad0b0a9beb20
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk-ruby
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