On Fri, 2011-04-15 at 10:00 -0500, Rob Landley wrote:
> On 04/13/2011 12:49 PM, Francois-Xavier Bourlet wrote:
> > Hi,
> > 
> > Here's a patch with the purpose adding a way to browse containers trough 
> > liblxc.
> 
> What does "browse" mean in this context?
> 

By reading the code, "browse" seems to mean "run some user code with a
user provided context for each container".

> > I added the function lxc-browse, that simply call back a function with
> > the container name as parameter.
> 
> So, get a list of the containers?  Like lxc-ls?
> 
> > It help to abstract how to browse containers without needed to know
> > the underlaying structure of LXC.
> 
> for i in $(lxc-ls); do lxc-info -n $i; done
> 
> I don't understand the purpose of this patch.
> 

I guess this patch offers a for-each-container feature for users that
link directly into liblxc rather than using lxc commands.

Francois-Xavier, do you confirm ?

-- 
Gregory Kurz                                     gk...@fr.ibm.com
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to