<div dir="ltr"><div>Tom,<br><br></div><div>You'll want to the PUT method to attach an ISO to the cdrom drive. Here is a link to the relevant RHEV API documentation:<br><br><a href="https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/REST_API_Guide/sect-REST_API_Guide-VMs-CDROMs.html">https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/REST_API_Guide/sect-REST_API_Guide-VMs-CDROMs.html</a><br>
<br></div><div>Tony<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 11:35 AM, Tom Brown <span dir="ltr"><<a href="mailto:tom@ng23.net" target="_blank">tom@ng23.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>><br>
><br>
> cdroms is a sub-collection of vm, you have to:<br>
><br>
> 1. create vm<br>
> 2. insert cd in to cdrom (this is done via updating cdrom)<br>
> 3. run vm specifying CD as first boot device<br>
><br>
<br>
</div>based on my previous posts i dont suppose you have a working example do you as i am having great difficulty making it work how i would imagine. I can create the VM fine, set the boot order and have the console all correct, its just 'attaching' the iso that is the issue.<br>
<div class="im"><br>
> i'd also suggest you looking in to the sdk (python/java),<br>
> you may find it easier than working with api directly over http.<br>
<br>
</div>if i were starting from scratch you may well be correct, its just this is a small piece of some larger orchestration and its all a bit too embedded as is to start to rework it at this time.<br>
<br>
thanks<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>