Real World Application Integration

From Nsnam
Revision as of 14:12, 4 May 2008 by Liujatp (Talk | contribs) (project plan)

Jump to: navigation, search

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

Project Background

The goal of this proposed project is to develop frameworks and strategies that enable people to integrate already existing code into the simulator. Depending on the application, this can be a straightforward or laborious process, but still should be preferable in many cases to rewriting these protocols from scratch, and hopefully this project can come up with techniques to make these ports even easier.

Here are some initial pointers to how this problem has been worked in the past:

Gsoc Project

Liu Jian( started the gsoc project from April 2008.


The purpose of the project is to develop frameworks and strategies that enable people to integrate already existing code into the ns-3 simulator, it will be accomplished by integrating Quagga, a routing deamon which implement many useful routing protocols. The project will begin by learning experence that Quagga ever ported to INET simulator, then porting Quagga to ns3 by adding some patchings, through the porting job, summariced,documented and structured properly, a adaption layer or some methodologies for ns-3 will be implemented, through which other real world application will be easily ported by the next person.

project plan

  • looking at quagga to identify the system calls it use.

functions like socket, time, signal,etc. After investigation, there were 4 class functions need to be implemented in ns_simu API.

  • implememt these function as simu_* in the ns-3-simu tree.
  • porting quagga to ns3.


  • listed all system functions which quagga calls. there is about 30 funs of total 150 need to be implemented in ns-3-simu.
  • next: implement these simu_xxx functions(there would be a great job)
  • .......

detail schedule

  • ~-4.30 read quagga source code, compile and run simple test; list simu_xxx sys-calls; finish the first step
  • 5.1~5.4 four days vacation
  • ......

About Quagga

see information here: