[lxc-devel] liblxc, lxc-browse()

Francois-Xavier Bourlet francois-xavier.bourlet at dotcloud.com
Wed Apr 13 17:49:06 UTC 2011


Hi,

Here's a patch with the purpose adding a way to browse containers trough liblxc.
I added the function lxc-browse, that simply call back a function with
the container name as parameter.
It help to abstract how to browse containers without needed to know
the underlaying structure of LXC.

In case this path seem too big, at least something like the second
path; that simply provide a way to retrieve LXCPATH; would be better
than nothing, trough less abstracted.

Regards,
-- 
François-Xavier Bourlet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-lxc_browse-function.patch
Type: application/octet-stream
Size: 4834 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110413/b4c231e4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-lxc_path.patch
Type: application/octet-stream
Size: 1103 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110413/b4c231e4/attachment-0001.obj>


More information about the lxc-devel mailing list