Re: [lxc-devel] [PATCH 2/2] allow lxc-info to get running container configuration

2013-07-01 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn > --- > doc/lxc-info.sgml.in | 28 +--- > src/lxc/lxc_info.c | 27 --- > 2 files changed, 49 insertions(+), 6 deletions(-) > > diff --git a

Re: [lxc-devel] [PATCH 1/2] fix -c argument handling

2013-07-01 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > commit 829dd918 added parsing of a -c argument to both the common options > handling and to lxc-start. It is not a common option, and should have only > been added to lxc-start. Because the common code is processing it, no other > command can use -c

[lxc-devel] [PATCH 2/2] allow lxc-info to get running container configuration

2013-07-01 Thread Dwight Engen
Signed-off-by: Dwight Engen --- doc/lxc-info.sgml.in | 28 +--- src/lxc/lxc_info.c | 27 --- 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/doc/lxc-info.sgml.in b/doc/lxc-info.sgml.in index ba0a044..39cd4d1 100644 --- a/doc/lxc-in

[lxc-devel] [PATCH 1/2] fix -c argument handling

2013-07-01 Thread Dwight Engen
commit 829dd918 added parsing of a -c argument to both the common options handling and to lxc-start. It is not a common option, and should have only been added to lxc-start. Because the common code is processing it, no other command can use -c. Remove -c from being processed by the common code. Tes

Re: [lxc-devel] limit the netwok traffic of container from the host

2013-07-01 Thread Serge Hallyn
Quoting lsmushroom (lsmushr...@126.com): > Sorry for the late response. For your question , you could not limit > the network traffic in that way. Because TC will only limit the But it worked for me... Are you saying it will limit only traffic to, but not from, the container? > traffic send out

Re: [lxc-devel] limit the netwok traffic of container from the host

2013-07-01 Thread lsmushroom
Sorry for the late response. For your question , you could not limit the network traffic in that way. Because TC will only limit the traffic send out from the target device . And for the device of veth type , the device on the host end will “send out” the traffic to the container , and it will