[ovirt-users] Console using REST API

Michal Skrivanek michal.skrivanek at redhat.com
Mon Jun 30 13:32:57 UTC 2014


On Jun 30, 2014, at 09:33 , Shanil S <xielesshanil at gmail.com> wrote:

> Hi Itamar,
> 
> I am planning to use web portal using php and curl. I checked this doc http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal but didn't understand about it.

You'd need to detail what exactly are your trying to do. The term "create console" can mean many things.
Assuming you want to open a console connection using virt-viewer using REST API…

conceptually quite simple - you get a ticket (set password for access, using /vms/{vm:id}/ticket) an then invoke virt-viewer with the right parameters which you get afterwards (vm's host, port, password).

Thanks,
michal


> 
> 
> 
> On Mon, Jun 30, 2014 at 11:38 AM, Itamar Heim <iheim at redhat.com> wrote:
> On 06/30/2014 07:14 AM, Shanil S wrote:
> Hi All,
> 
> Could you please explain how can i create console using REST api ?
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> do you mean a command line shell or a web user portal?
> for web user portal, several samples here:
> http://gerrit.ovirt.org/gitweb?p=samples-portals.git;a=tree;h=refs/heads/master;hb=refs/heads/master
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list