python binding API documentation for ns3

404 views
Skip to first unread message

Jing Wang

unread,
Jul 11, 2012, 4:49:19 PM7/11/12
to ns-3-...@googlegroups.com
Hi everyone, 
    I am taking this year's Google Summer of Code. My project is network malware simulation under the honeynet project. I chose the ns3 as the underline network simulator. Since my code is written in python, I rely heavily on python binding of ns3. 
   It seems that now python bindings haven't covered all API of ns3, the problem is that I don't know which API has been implemented and which one hasn't. 
   Does anyone know any documentation which contains a full list of python API that has been implemented? Your help will be highly appreciated. 

Best Wishes,
Jing Conan Wang
Message has been deleted

Gustavo Carneiro

unread,
Jul 12, 2012, 6:20:45 AM7/12/12
to ns-3-...@googlegroups.com
I guess no one really knows all the API that is not covered in Python.  The bindings system tries to gracefully ignore APIs that cannot be bound for python.

The wiki page has some hints on some (not all) of the API that isn't covered.  See here: http://www.nsnam.org/wiki/index.php/NS-3_Python_Bindings

Best Wishes,
Jing Conan Wang

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/UF88NWUN_7oJ.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert

Jing Conan Wang

unread,
Jul 23, 2012, 12:40:03 PM7/23/12
to ns-3-...@googlegroups.com
Hi Gustavo,
Thank you very much for your reply. Actually I think gracefully
ignorance of some APIs has some side effect, too. I try used some apis
of topology-reader but it was not there and there is not hint.
It would be much better if pybindgen can output some help document
indicating which api has been ignored and the meaning for the
parameter list if the api has been binded. Does anyone have interested
in implement that?

Best Wishes,
Jing Conan Wang

Division of Systems Engineering
Boston University

Flavio Seixas

unread,
Sep 9, 2013, 9:56:38 AM9/9/13
to ns-3-...@googlegroups.com
Hi all,
I'm having some error messages when I try to scan PLC module bindings by executing the command: ./waf --apiscan=plc
The user guide described by Fariba Aalamifar and Lutz Lampe (http://www.ece.ubc.ca/~faribaa/User_Guide.pdf) listed some software packages that should be installed before executing waf configure. I think there are some software packages required that are not listed in such user guide. Anybody could provide the software packages required to python binding of ns3? Is there any problem if I use python 2.7 instead of python 2.6 as indicated in the document? I would appreciate any help.
Best regards,
Flavio.

Usman Shaukat

unread,
Nov 3, 2016, 10:15:17 AM11/3/16
to ns-3-users
Hi Jing,
I have a question, could you please explain to me how you developed your network malware simulation? were you able to run any malware on it? and finally how did you run the malware on it.

Kind regards
Usman

Tommaso Pecorella

unread,
Nov 5, 2016, 7:19:20 AM11/5/16
to ns-3-users
Hi,

please read the posting guidelines (this thread is 4 years old).

T.

Juan Camilo Baquero Bustos

unread,
Oct 30, 2017, 8:07:04 PM10/30/17
to ns-3-users
Hey Flavio i am trying to install PLC module but it has been dificult. You achieved it? if you do it, can you say me the versions you used in python,ns3 and ubuntu?  At this moment i have problem with the bindings and the visualizer, you solved? It would be very grateful if you can help me.
Reply all
Reply to author
Forward
0 new messages