Re: [lxc-devel] [PATCH] Add get_interfaces to the API - v2

2013-09-16 Thread S . Çağlar Onur
On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber wrote: > On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote: > > get_ips accepts an interface name as a parameter but there was no > > way to get the interfaces names from the container. This patch > > introduces a new get_interfaces call

Re: [lxc-devel] [PATCH] Add get_interfaces to the API - v2

2013-09-16 Thread Stéphane Graber
On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote: > get_ips accepts an interface name as a parameter but there was no > way to get the interfaces names from the container. This patch > introduces a new get_interfaces call to the API so that users > can obtain the name of the interfaces

[lxc-devel] [PATCH] Add get_interfaces to the API - v2

2013-09-16 Thread S . Çağlar Onur
get_ips accepts an interface name as a parameter but there was no way to get the interfaces names from the container. This patch introduces a new get_interfaces call to the API so that users can obtain the name of the interfaces. Signed-off-by: S.Çağlar Onur --- src/lxc/lxccontainer.c | 117

Re: [lxc-devel] [PATCH] Add get_interfaces to the API - v2

2013-09-16 Thread S . Çağlar Onur
Hi Stéphane, On Mon, Sep 16, 2013 at 3:04 PM, Stéphane Graber wrote: > On Mon, Sep 16, 2013 at 02:54:44PM -0400, S.Çağlar Onur wrote: > > On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber >wrote: > > > > > On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote: > > > > get_ips accepts an i

Re: [lxc-devel] [PATCH] Add get_interfaces to the API - v2

2013-09-16 Thread Stéphane Graber
On Mon, Sep 16, 2013 at 02:54:44PM -0400, S.Çağlar Onur wrote: > On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber wrote: > > > On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote: > > > get_ips accepts an interface name as a parameter but there was no > > > way to get the interfaces name