Le 5 juin 2016 à 12:37, nicolas(a)devels.es a écrit :
Hi,
On user portal, when users click on the "Connect" link of a VM that is
configured to be run with "Native client" and SPICE protocol, a .vv file is
generated with the connection parameters so the SPICE client knows where to connect: host,
port, password, ...
Currently, is there a way to generate those parameters with the Python SDK? Especially
the session password so it's possible to connect to the VM directly with a SPICE
client.
You can have a look at my example :
https://github.com/fbacchella/ovirtcmd/blob/master/ovlib/vms/__init__.py#L45
It does not generate a full vv file, but an usable URL any way.