[lxc-devel] create api

S.Çağlar Onur caglar at 10ur.org
Wed May 15 14:49:47 UTC 2013


Hi Serge,


On Tue, May 14, 2013 at 3:13 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Hi,
>
> I'd like to rewrite lxc-create to be c (calling out to the c templates
> which continue to be scripts for the most part).  Unfortunately right
> now the lxcapi_create() just takes arguments to send to the lxc-create
> script.
>
> I could either dump the existing lxcapi_create function, replace it with
> something close to the lxcapi_clone, and update the current callers, or
> I can write a new function lxcapi_create2, keeping lxcapi_create() as
> calling the c program (which then calls lxcapi_create2 :).
>
> The only reason to go with lxcapi_create2 would be for out of tree
> callers (which includes the go bindings).  Since we're not at 1.0 yet we
> don't guarantee anything about api stability (for exactly this reason),
> but I thought I'd ask anyway what you all thought.
>

Dumping the existing one and replacing it with something else works for me.
Also I'm not aware any other user of go bindings than me and. Any if there
are then I guess they shouldn't expect a stable API at this point because
of the reasons that you stated.



> -serge
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
>

-- 
S.Çağlar Onur <caglar at 10ur.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130515/e82cde79/attachment.html>


More information about the lxc-devel mailing list