Re: [lxc-devel] API wishlist

2012-12-12 Thread Frederic Crozat
Le mercredi 12 décembre 2012 à 10:43 -0600, Serge Hallyn a écrit : > Quoting Frederic Crozat (fcro...@suse.com): > > Le mercredi 12 décembre 2012 à 09:48 -0600, Serge Hallyn a écrit : > > > Quoting Frederic Crozat (fcro...@suse.com): > > > > Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a é

Re: [lxc-devel] API wishlist

2012-12-12 Thread Serge Hallyn
Quoting Frederic Crozat (fcro...@suse.com): > Le mercredi 12 décembre 2012 à 09:48 -0600, Serge Hallyn a écrit : > > Quoting Frederic Crozat (fcro...@suse.com): > > > Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a écrit : > > > > Quoting Frederic Crozat (fcro...@suse.com): > > > > > I have

Re: [lxc-devel] API wishlist

2012-12-12 Thread Frederic Crozat
Le mercredi 12 décembre 2012 à 09:48 -0600, Serge Hallyn a écrit : > Quoting Frederic Crozat (fcro...@suse.com): > > Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a écrit : > > > Quoting Frederic Crozat (fcro...@suse.com): > > > > I have to agree with that proposal (and making configuration

Re: [lxc-devel] API wishlist

2012-12-12 Thread Serge Hallyn
Quoting Frederic Crozat (fcro...@suse.com): > Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a écrit : > > Quoting Frederic Crozat (fcro...@suse.com): > > > I have to agree with that proposal (and making configuration path being > > > optionally a different path than the one used for rootfs

Re: [lxc-devel] API wishlist

2012-12-11 Thread Stéphane Graber
On 12/11/2012 07:23 AM, Alexander Vladimirov wrote: > 2012/12/11 Jäkel, Guido mailto:g.jae...@dnb.de>> > > Hi all, > > as i'm using a farm of LXC hosts I want to add a network wire > feature to the "API wishlist". In fact, this might be some frontend > daemon, which offers remot

Re: [lxc-devel] API wishlist

2012-12-11 Thread Alexander Vladimirov
2012/12/11 Jäkel, Guido > Hi all, > > as i'm using a farm of LXC hosts I want to add a network wire feature to > the "API wishlist". In fact, this might be some frontend daemon, which > offers remote network access to local LXC in conjunction with a proxy > client counterpart, which will locall

[lxc-devel] API wishlist

2012-12-11 Thread Jäkel , Guido
Hi all, as i'm using a farm of LXC hosts I want to add a network wire feature to the "API wishlist". In fact, this might be some frontend daemon, which offers remote network access to local LXC in conjunction with a proxy client counterpart, which will locally provide the API of an remote hos

Re: [lxc-devel] API wishlist

2012-12-10 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > > I think the naming of /etc/lxc/lxc.conf was rather bad and I should > > have thought of that back then :) > > Essentially our current /etc/lxc/lxc.conf should really be > > /etc/lxc/default.conf, clearly identifying that it's the default > > confi

Re: [lxc-devel] API wishlist

2012-12-10 Thread Dwight Engen
On Mon, 10 Dec 2012 09:44:26 -0500 Stéphane Graber wrote: > On 12/10/2012 09:30 AM, Dwight Engen wrote: > > On Fri, 07 Dec 2012 12:47:59 -0500 > > Stéphane Graber wrote: > > > >> On 12/07/2012 12:25 PM, Serge Hallyn wrote: > >>> Quoting Stéphane Graber (stgra...@ubuntu.com): > >>> ... > -

Re: [lxc-devel] API wishlist

2012-12-10 Thread Stéphane Graber
On 12/10/2012 09:30 AM, Dwight Engen wrote: > On Fri, 07 Dec 2012 12:47:59 -0500 > Stéphane Graber wrote: > >> On 12/07/2012 12:25 PM, Serge Hallyn wrote: >>> Quoting Stéphane Graber (stgra...@ubuntu.com): >>> ... - get_version() (not container specific) - get_lxc_path() (not containe

Re: [lxc-devel] API wishlist

2012-12-10 Thread Dwight Engen
On Fri, 07 Dec 2012 12:47:59 -0500 Stéphane Graber wrote: > On 12/07/2012 12:25 PM, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > ... > >> - get_version() (not container specific) > >> - get_lxc_path() (not container specific) > >>Returns the storage path for th

Re: [lxc-devel] API wishlist

2012-12-10 Thread Serge Hallyn
Quoting Frederic Crozat (fcro...@suse.com): > I have to agree with that proposal (and making configuration path being > optionally a different path than the one used for rootfs would be a > plus, like the patch Alexey has been posting for a long time and we are > using on SLES). Can you post a URL

Re: [lxc-devel] API wishlist

2012-12-07 Thread Frederic Crozat
Le vendredi 07 décembre 2012 à 12:47 -0500, Stéphane Graber a écrit : > On 12/07/2012 12:25 PM, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > ... > >> - get_version() (not container specific) > >> - get_lxc_path() (not container specific) > >>Returns the storage p

Re: [lxc-devel] API wishlist

2012-12-07 Thread Stéphane Graber
On 12/07/2012 12:25 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > ... >> - get_version() (not container specific) >> - get_lxc_path() (not container specific) >>Returns the storage path for the containers. >>Defaults to LXCPATH. >> - set_lxc_path(path) (not c

Re: [lxc-devel] API wishlist

2012-12-07 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): ... > - get_version() (not container specific) > - get_lxc_path() (not container specific) >Returns the storage path for the containers. >Defaults to LXCPATH. > - set_lxc_path(path) (not container specific) > > > Looking at my todolist for

Re: [lxc-devel] API wishlist

2012-11-29 Thread Stéphane Graber
On 11/29/2012 02:42 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> So, I've been thinking a bit about what functions we're currently >> missing in the API which would make the bindings and scripts much easier. >> >> So far, I've been thinking of: >> - get_cgroup_item(c

Re: [lxc-devel] API wishlist

2012-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > So, I've been thinking a bit about what functions we're currently > missing in the API which would make the bindings and scripts much easier. > > So far, I've been thinking of: > - get_cgroup_item(cgroup, key) > - set_cgroup_item(cgroup, key, valu

[lxc-devel] API wishlist

2012-11-29 Thread Stéphane Graber
So, I've been thinking a bit about what functions we're currently missing in the API which would make the bindings and scripts much easier. So far, I've been thinking of: - get_cgroup_item(cgroup, key) - set_cgroup_item(cgroup, key, value) - attach(namespaces, command) Attach to the provided