[et-mgmt-tools] [PATCH] virt-manager: Use avahi to poll for local servers
Daniel P. Berrange
berrange at redhat.com
Wed Aug 20 15:29:55 UTC 2008
On Wed, Aug 20, 2008 at 12:10:26PM +0100, Daniel P. Berrange wrote:
> On Wed, Aug 20, 2008 at 11:25:05AM +0100, Daniel P. Berrange wrote:
> > On Mon, Aug 18, 2008 at 11:28:18AM -0400, Cole Robinson wrote:
> > > 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.
>
> I think there needs to be some uniqueness filtering because its adding the
> same entry multiple times !
>
> The 'Browse hosts' checkbox is overkill - just always have it enabled.
> There's no need to provide a way to disable it, since they can already
> type in a hostname manually if desired.
>
> When presenting a browse list, the avahi recommendation is to present the
> service names
>
> "Virtual Host t60wlan"
>
> and not show the IP address / hostname to the user. Let the user pick a
> service name, and then turn that into an IP address/hostname when we need
> to connect.
This is an example of the listing I'm referring to
http://0pointer.de/blog/projects/avahify-your-app.html
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the et-mgmt-tools
mailing list