[et-mgmt-tools] [PATCH] virt-manager: Use avahi to poll for local servers

Cole Robinson crobinso at redhat.com
Mon Aug 18 15:28:18 UTC 2008


The attached patch adds support for avahi polling
to the virt-manager 'Open Connection' dialog.
libvirtd advertises itself via avahi so we get the
hard stuff for free :). To test this you will need
to make sure Multicast DNS (mDNS, port 5353 udp) is
open on your machine.

I had a few more screenshots but fedorapeople isn't
responding. The basic flow is: 'Open Conn' defaults
to selecting a local connection, so the 'browse'
checkbox and list are inactive. If a remote conn
type is selected, the 'browse' checkbox and 
'hostname' field become active, but we don't
immediately default to actually browsing the
network. Once the 'browse' checkbox is clicked the
list becomes active and starts asynchronously
populating. When an entry in the list is selected
its hostname (or IP address if the hostname wasn't
resolved) is placed in the "hostname" field.

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmm-avahi-polling.patch
Type: text/x-patch
Size: 18449 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080818/497c3ac3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmm-avahi-browse.png
Type: image/png
Size: 64038 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080818/497c3ac3/attachment.png>


More information about the et-mgmt-tools mailing list