]> git.proxmox.com Git - mirror_lxc.git/commit
Rewrite lxc-ls in python
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 21 Nov 2012 22:38:27 +0000 (17:38 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Dec 2012 19:00:56 +0000 (14:00 -0500)
commit4e7186c53554cdbf4b4b85568daf84740c120505
tree2de4dc097ac213eb82dc07c9fd3c8a0803db4a2a
parent4a85ce2ad0d0b24680712c60a6576713d209b7ad
Rewrite lxc-ls in python

This rewrite is mostly compatible with the shell version.
--active and -1 still work and behave as they used to.

This adds --running, --stopped and --frozen as state filters.

A new "fancy" view is also implemented (can be used with --fancy) and
will show containers in a column-based interface with the following fields:
 - name
 - state
 - ipv4
 - ipv6
 - pid of init

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
.gitignore
configure.ac
doc/lxc-ls.sgml.in
src/lxc/Makefile.am
src/lxc/lxc-ls [new file with mode: 0644]
src/lxc/lxc-ls.in [deleted file]