Re: [lxc-devel] [PATCH V2] lxcapi: Add new get_ips() call

2013-05-21 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This adds a new get_ips call which takes a family (inet, inet6 or NULL), > a network interface (or NULL for all) and a scope (0 for global) and returns > a char** of all the IPs in the container. > > This also adds a matching python3 binding (functi

[lxc-devel] [PATCH V2] lxcapi: Add new get_ips() call

2013-05-21 Thread Stéphane Graber
This adds a new get_ips call which takes a family (inet, inet6 or NULL), a network interface (or NULL for all) and a scope (0 for global) and returns a char** of all the IPs in the container. This also adds a matching python3 binding (function result is a tuple) and deprecates the previous pure-py