Re: allow config download with https

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > Can't you write a simple wrapper/script to take care of that?
> >
> > Sure. Then I have to maintain/install a script and remote-viewer, and
> > I want to avoid that.
> >
> > Why is the ovirt code included? I guess it is just convenient.
> 
> I haven't used the ovirt support, but my impression was that it was
> performing authentication + lookup using some rest api.

yes, I want to do the same thing with libcurl

> > Also, I think using https and libcurl can completely replace the
> > libovirt dependency.
> 
> I guess you would need to handle the above, parsing the output, handling
> request state etc. Abstracting all this is precisely what libovirt is about.

You do not really need to parse anything, because you can directly request the
correct content type (Accept header). At least this works with the proxmox API,
and it should be really ease to implement in the ovirt API (if not already implemented).

Auth need to be done using http basic auth, and I guess most REST APIs will support that.

It would be really convenient to connect to a VM using:

# remote-viewer https://server/vms/vm1

or open a system console with:

# remote-viewer https://server/nodes/node1

(without requiring a web browser).
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]