[Ovirt-devel] taskomatic.rb : set_vm_vnc_port

Darryl L. Pierce dpierce at redhat.com
Mon Aug 30 18:18:17 UTC 2010


On Mon, Aug 30, 2010 at 05:32:58PM +0200, Arthur Clément wrote:
> Hi,
> 
> Does somebody know what is the purpose of this line in taskomatic.rb :
> 
> set_vm_vnc_port(db_vm, result.description) unless result.status != 0

This is to specify what the VNC port for the specific VM is at the time
it's launched. This allows for viewing the VM's output via VNC from
another system. The problem there seems to be that 0 should be an
acceptable port id, particularly for the first VM started.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100830/9b642340/attachment.sig>


More information about the ovirt-devel mailing list