[Ns-developers] NS-3 Python

Gustavo Carneiro gjcarneiro at gmail.com
Fri Jan 18 09:31:25 PST 2008


So it seems that there was agreement to merge ns-3-pybindgen for next
release.

The plan is:

  1- merge ns-3-pybindgen without callback tracing support first (requires
no significant ns-3 core API changes);
  2- try to resolve bug [127], as time permits;
  3- if there is time and bug 127 got resolved then include also the tracing
callback part.

Caveats:

   1- not all of the NS-3 API is covered, of course; that will take time and
patience;

   2- to generate the python bindings special tools are required (gccxml,
pygccxml, pybindgen):

      a) pregenerated python bindings can be included in releases (no code
generation needed, only compilation);

      b) developers checking out from code.nsnam.org will need to have the
needed tools to generate python bindings;

      c) users/developers that want to modify the NS-3 API from a release
tarball will have to have the tools to regenerate the python binding code
(or else modify the code manually), otherwise the bindings may of course
stop compiling.

Comments/objections?


[127] http://www.nsnam.org/bugzilla/show_bug.cgi?id=127

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list