[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] PATCH: 6/7 add virsh commands for storage management



On Mon, Oct 29, 2007 at 03:59:39AM +0000, Daniel P. Berrange wrote:
> This adds a bunch of new virsh commands to expose all the capabilities of
> the storage APIs
> 
> For dealing with storage pools:
> 
>     pool-autostart  autostart a pool
>     pool-create     create a pool from an XML file
>     pool-define     define (but don't start) a pool from an XML file
>     pool-destroy    destroy a pool
>     pool-dumpxml    pool information in XML
>     pool-list       list pools
>     pool-name       convert a pool UUID to pool name
>     pool-start      start a (previously defined) inactive pool
>     pool-undefine   undefine an inactive pool
>     pool-uuid       convert a pool name to pool UUID
> 
> NB, there is a 'pool-info' command missing here which would get usage
> stats.
> 
> For dealing with volumes within a pool
> 
>     vol-create      create a vol from an XML file
>     vol-delete      destroy a vol
>     vol-dumpxml     vol information in XML
>     vol-list        list vols
>     vol-path        convert a vol UUID to vol path
>     vol-name        convert a vol UUID to vol name
>     vol-uuid        convert a vol name to vol UUID
> 
> NB, there is a 'vol-info' command missing here which would get usage
> stats. Both the missing methods will be added.
> 
> See the next mail for example usage of some of these commands.
> 
> The actual implementation is pretty uninteresting - its basically
> the same way the corresponding net-XXXX commands are implemented.

  Sounds fine to me !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]