[Users] API usage - 3.1
Anthony James
anthony.james at cintriq.com
Thu Jan 17 20:09:18 UTC 2013
Tom,
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:
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
Tony
On Thu, Jan 17, 2013 at 11:35 AM, Tom Brown <tom at ng23.net> wrote:
> >>
> >
> > cdroms is a sub-collection of vm, you have to:
> >
> > 1. create vm
> > 2. insert cd in to cdrom (this is done via updating cdrom)
> > 3. run vm specifying CD as first boot device
> >
>
> 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.
>
> > i'd also suggest you looking in to the sdk (python/java),
> > you may find it easier than working with api directly over http.
>
> 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.
>
> thanks
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130117/d30c5f39/attachment-0001.html>
More information about the Users
mailing list