Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In oVirt (Red Hat Enterprise Virtualization) you can create a Virtual Machines Pool to allow your users to retrieve virtual machines from this pool.

I found how a user, in the RHEV User Portal, can request a Virtual Machine from the pool, this is explained here:

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Evaluation_Guide/Evaluation_Guide-Allocate_VM.html

The thing is that i will need to retrieve virtual machines from the pool with the REST API and, after reading the documentation (https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html-single/REST_API_Guide/index.html) I cant found the way to do this.

share|improve this question
    
pls see update to the answer –  dyasny Dec 17 '12 at 13:21
add comment

1 Answer 1

up vote 2 down vote accepted

AFAIK there is no such an API call, however, since the system is under very fast development, you as a customer can submit an RFE through a support ticket, those are usually satisfied with the next version, if they make sense and don't require very heavy changes

UPDATE: In RHEV 3.1 there is an API action called allocatevm:

<vmpools>
  <vmpool href="/api/vmpools/cfc75028-2942-11e2-8f69-52540042e41d" id="cfc75028-2942-11e2-8f69-52540042e41d">
  <actions>
    <link href="/api/vmpools/cfc75028-2942-11e2-8f69-52540042e41d/allocatevm" rel="allocatevm"/>
  </actions>
...
share|improve this answer
    
Are you sure? I'm using oVirt 3.1 (3.1.0-2.fc17) and there is no such call, or at least is not visible When I request the vmpools using the API (as it seems in your example). –  FerCa Jan 2 '13 at 9:07
    
It could have been backported from oVirt 3.2 into RHEV 3.1 –  dyasny Jan 2 '13 at 9:38
    
I found the patch for this feature (gerrit.ovirt.org/…) and the bug report (bugzilla.redhat.com/show_bug.cgi?format=multiple&id=864438) but I can't find a way to know in what version this will be fixed. –  FerCa Jan 3 '13 at 8:22
    
what you found is a RHEV bug, and it's closed as fixed - the feature exists in the current version of RHEV –  dyasny Jan 3 '13 at 8:26
    
Can you please tell me the detailed number of version of RHEV are you using? –  FerCa Jan 3 '13 at 9:42
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.