[et-mgmt-tools] [PATCH 2/3] Add storage pool creation wizard

Cole Robinson crobinso at redhat.com
Mon Aug 11 01:52:38 UTC 2008


The attached patch adds a wizard for creating storage pools.
It's pretty straight forward: the first screen asks for a
name and a pool type (dir, fs, etc.), the next screen gets
all the goodies as appropriate, like target path, format,
hostname, and source path. This fields are all activated
automagically by hasattr'ing the underlying virtinst object.

The other option is whether to 'build' the pool or not.
File based pools, this will be the default (since all it
does is create a directory) however for things like disk
pools we want to discourage this as it will wipe partition
info if the user isn't careful. The logic for setting these
defaults isn't in yet so for now it just defaults to nobuild.

I intend for there to be info on the right hand side of the
wizard that will update when the mouse rolls over the field,
but I haven't filled this in yet either. Those issues aside
the wizard works so I think it's in good enough shape to
commit.

Thanks to Tim Allen for most of the UI design.

Page 1 screenshot:
http://fedorapeople.org/~crobinso/virt-manager/storage/pool-usb-page1.png

Page 2 screenshots:
http://fedorapeople.org/~crobinso/virt-manager/storage/pool-usb-page2.png
http://fedorapeople.org/~crobinso/virt-manager/storage/pool-nfs-page2.png

Thanks,
Cole
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virt-manager-pool-wizard-patch
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080810/54bf0f2a/attachment.ksh>


More information about the et-mgmt-tools mailing list