Current Development: Difference between revisions
Mkheirkhah (talk | contribs) m (Steps in modification of Ipv4GlobalRouting to enable routing protocol with ECMP) |
Mkheirkhah (talk | contribs) m (Minor modification) |
||
Line 192: | Line 192: | ||
# Implementation and test code for round-robin ECMP mode. | # Implementation and test code for round-robin ECMP mode. | ||
# Implementation of ECMP per-flow based on existing patch in bug 667 where applicable. | # Implementation of ECMP per-flow based on existing patch in bug 667 where applicable. | ||
=== An MPTCP model === | === An MPTCP model === | ||
Revision as of 17:47, 14 July 2014
Main Page - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - Samples - Models - Education - Contributed Code - Papers
On this page, we will try to summarize current ns-3 development work. If you are interested in collaborating on one of these projects, or reviewing work by others, please do not hesitate to contact the individuals identified, or the page maintainer.
There are a few other places to look for current activity on ns-3 development:
- the current release page will list code under consideration for merging, and bugs being worked. The next release, ns-3.21 release, is scheduled for August 2014.
- we should have entries for all of our known bugs in the Bugzilla bug tracker.
- Related projects list some active and past projects that are associated with ns-3.
- We maintain a suggested project ideas page for people interested in trying to start something new, or finish off some existing work.
- We conduct code review discussions on the Google Group 'ns-3-reviews'
How to get involved
ns-3 always can use more time and assistance from contributors of all skill levels. One of the best ways to learn a tool is to try to get involved in its development processes, even if it is as simple as pointing out stale information or documentation on our web pages. Ideas on how to get started are on our project ideas page.
If you are new to ns-3 and want to contribute code, please read these guidelines: Contributing to ns-3 and review the information on this page below.
Note: ns-3 developers sometimes hang out on IRC at #ns-3 at irc.freenode.net. IRC logs
Also, please check out the Current events page to learn of upcoming events for ns-3.
Code reviews
All new code (other than maintenance code committed directly by a module's maintainer) goes through a public code review. The process is described here. This page is devoted to listing code reviews that have been publicly announced.
Currently open code reviews:
- CSMA backoff improvements
- new VANET routing example
- Energy harvester
- LEAR extension for DSR
- Announce: http://mailman.isi.edu/pipermail/ns-developers/2014-April/011933.html
Code review: https://codereview.appspot.com/85630046/- Note: new code review issue posted 8 May: https://codereview.appspot.com/96130043/
- Packet socket application
- Code review: https://codereview.appspot.com/45320043/
- WiFi sleep mode
- Announce (January 28, 2014): http://mailman.isi.edu/pipermail/ns-developers/2014-January/011721.html
- Announced again: http://mailman.isi.edu/pipermail/ns-developers/2014-April/011930.html
- Code review: https://codereview.appspot.com/57210044/
- TCP CUBIC
- Next steps with Object Stop/Start
- NetSh (simulation helper)
- Announce: http://mailman.isi.edu/pipermail/ns-developers/2014-February/011742.html
- Code review: none yet.
- WDM module
- Announce: http://mailman.isi.edu/pipermail/ns-developers/2014-February/011758.html
- Code review: none yet.
- Wifi documentation
- Announce (Feb 4, 2014): http://mailman.isi.edu/pipermail/ns-developers/2014-February/011733.html
- Code review: https://codereview.appspot.com/59740046
- Minstrel modifications
- Announce (Feb 3, 2014): http://mailman.isi.edu/pipermail/ns-developers/2014-February/011731.html
- Code review: https://codereview.appspot.com/59710043/
- DAMA environment
- Simple send application
- Code review: https://codereview.appspot.com/45320043
- Energy model access via Config system
- Announce (January 3, 2014): http://mailman.isi.edu/pipermail/ns-developers/2014-January/011660.html
- Code review: https://codereview.appspot.com/39820045
- DTN Bundle Protocol
- Announce (December 23, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-December/011616.html
- Code review: https://codereview.appspot.com/38130049/
- LTE CQA Scheduler
- Code review: https://codereview.appspot.com/31010043/
- TCP Window Scale and Timestamps
- Announce (Nov 11, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-November/011477.html
- Code review: https://codereview.appspot.com/24900043/
- Status: under revision in 2014 SOCIS project (Natale Patriciello)
- PGBR routing protocol and extension of topology-read module
- Announce (Oct 21, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-October/011455.html
- Code review: https://codereview.appspot.com/15530043/
- Status: Needs reviews
- UAN WOSS
- Announce (Oct 14, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-October/011446.html
- Code review: https://codereview.appspot.com/14677043/
- Status: Needs reviews
- Wifi MPDU Aggregation
- Announce (October 8, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-August/011394.html
- Code review: https://codereview.appspot.com/14549044/
- Status: Ongoing work as of Dec. 2013
- Epidemic routing
- Announce (Sept 24, 2013): http://mailman.isi.edu/pipermail/ns-developers/2013-September/011426.html
- Code review: https://codereview.appspot.com/13831049/
- Status: Author responding to latest review comments.
Some older code reviews can be found here: http://www.nsnam.org/wiki/Ns-3.18#additional_new_feature_reviews
Also:
- TDMA
- Code review: https://codereview.appspot.com/4747046/
- Simple wireless
- Code review: https://codereview.appspot.com/1587041/show
- Ipv4 Route Output refactoring
- Code review: https://codereview.appspot.com/5661044/
- Bug tracker issue: https://www.nsnam.org/bugzilla/show_bug.cgi?id=1111
Roadmap
In 2013-14, the project is focusing on the following initiatives:
- modular build system
- Already done: bake is now a build system for DCE, and is included in ns-allinone-3.18
- Remains to be done: use bake to make ns-3 libraries more modular (per the wiki page above)
- starting and stopping of objects
- Already done: Base class of ns3::Object has been patched, and Start/Stop has been deconflicted from object initialization
- To be done: Make our core objects (Nodes and NetDevices) and protocol models do reasonable things when "Start" and Stop" methods are called on them.
- merge of the Direct Code Execution framework
- Already done: DCE is part of ns-3; the current release as of October 2013 is DCE 1.1
- data collection and experiment control frameworks
- Already done: Initial capabilities of this module were merged to the ns-3.18 release.
- To be done: Add statistical processing, dump output to databases
Current development for main trunk of ns-3
GSoC and SOCIS summer projects
ns-3 is participating with four projects in the 2014 Google Summer of Code.
ns-3 is participating with one project in the 2014 Summer of Code in Space. The main aim of this project is to contribute satellite-relevant TCP models, but to facilitate those models, some additional ground work on adding and testing TCP options is being done.
ns-3 core
- Object Start/Stop capability
CSMA model
There has been discussion in the June 2014 timeframe about improving this model:
- http://mailman.isi.edu/pipermail/ns-developers/2014-June/012026.html
- http://mailman.isi.edu/pipermail/ns-developers/2014-June/012093.html
These improvements have been recommended:
- Implement backoff counter decrement as a function of line state (see this initial code review)
- Divide CSMA implementation between CSMA/CD & CSMA/CA (which are totally different)
- Implement a distance system (not the same propagation delay for every nodes); see Vedran Miletić's work code review issue
- Audit the ns-3 examples to find instances where CSMA is being used with inappropriate link delay (where multiple access may perform very suboptimally)
TCP options
TCP options (MSS, window scale, timestamp) have been under development in the past by Adrian Tam and Anh Nguyen (see the code reviews section for details).
Natale Patriciello is working on the third iteration of TCP option support in the context of his SOCIS project.
Multipath TCP
Changes to IPv4 RouteOutput() and IPv4 global routing implementation
- Modification to TcpSocketBase and TcpL4Protocol in order to prevent multiple calls on RouteOutput() on each TCP socket.
- Split LookupGlobal() for RouteInput() and RouteOutput() usage.
- Change existing RandomECMP attribute from a boolean to an enum (mode).
- Implementation and test code for round-robin ECMP mode.
- Implementation of ECMP per-flow based on existing patch in bug 667 where applicable.
An MPTCP model
Past development efforts
Most of these activities are now dormant or concluded and some of the information is stale. We are keeping here as a placeholder until this section can be cleaned up.
ns-3 core
Multi-threaded simulation implementation for multicore
- ns-developers post: http://mailman.isi.edu/pipermail/ns-developers/2009-July/006197.html
- code location: http://code.nsnam.org/guillaume/ns-3-multithreading/
- status: ns-3.11 merge?
Linux namespaces and ns-3
- summary: Tom Goff has contributed code and documentation about how to use ns-3 with Linux namespaces.
- code location: See the below wiki page.
- background: HOWTO use Linux namespaces with ns-3
- status: A version of this was merged to the latest CORE network emulator release.
Device and channel models
Optical network: WDM, PON and RoF
Miscellaneous wifi enhancements
- code location: http://codereview.appspot.com/65051
- reviewer(s): Mathieu Lacage
- status: Some of these pieces made it into ns-3.5-- others are pending
- background: http://groups.google.com/group/ns-3-reviews/browse_thread/thread/f0b36d7373421a7d#
Patch to pause and resume an interface
- code location: http://codereview.appspot.com/62054
- reviewer(s): TBD
- status: reimplemented in a more general way, see Object Start Stop Specification
802.11 model extensions
There are several efforts ongoing to extend the ns-3 Wifi model.
Harmonization with ns-2 802.11 Ext models
- summary: ns-2.33 added a new 802.11 model with much more detailed channel modeling. An effort has been started to port over reusable components from that implementation to ns-3's wifi model, while reusing already implemented basic components. The goal is a harmonization of the 802.11 models of ns-2 and ns-3. Leading aim is to support research on vehicular networks. Planned near-term features:
- Equalizing PHY models including capture effects, user-definable coding rates (e.g. 5.9 GHz from 802.11p)
- EDCA QoS extensions of 802.11e
- Already finished features:
- Nakagami/Rayleigh propagation loss model
- ns-developers post: http://mailman.isi.edu/pipermail/ns-developers/2008-November/004936.html
- code location: http://idlebox.net/2008/ns-3-wifi/code/ns-3-wifiex/
- status: under current active development. Time frame till this is completed: 4-5 month.
802.11n
- summary: University of Florence (LART lab) has begun work on an 802.11n model for ns3. The main goal is to simulate the frame aggregation feature. In the future, they aim to implement the High Throughput terminal behaviour with MIMO technology. They plan to add, to ns-3's 802.11 model, the following 802.11n features:
- Frame Aggregation
- Block ACK
- HCF (EDCA and support for HCCA)
- TXOP
- HT terminal (also with protection modes)
- MIMO
Also interested to verify the 11n terminal throughput when are associated terminal of a/b/g standards.
- Already finished features (in ns-3.5):
- HCF, TXOP, Frame Aggregation
- Merged for ns-3.8:
- Block ACK
- code location:
http://code.nsnam.org/mirko/ns-3-80211nRepository has been removed. - status: Frame aggregation and block ack merged already; Tommaso Pecorella announced his lab's next steps here. Current development is on hold.
Wireless Interference (Jamming) Model
- summary: Network Security Lab (NSL), University of Washington, Seattle has begun work on a wireless interference (jamming) model for ns3. The goal is to to enable researchers to use ns3 to study jamming and its mitigation methods.
- wiki page: NS-3 wireless jamming model
- code location: http://codereview.appspot.com/1055041/show
- status: Public review.
Vehicular Ad Hoc Networks (VANET)
- summary: Michele Weigle's group is working on VANET and has posted a patch for review in the past, but has taken it off the table for ns-3 merge consideration until more work is done.
- code location: None publicly posted at this time.
Wireless Sensor Networks (i.e., 802.15.4 + 6LoWPAN + RPL)
Tommaso Pecorella announced his plans here
Current status is:
- RPL implementation (storing, multicast): 5th refactoring going on. Moving responsibility to ParentSet and MeasureCollectors for metrics other than HC.
- RPL is based on ROLL RFCs and drafts
- Objective functions implemented are of0 and minrank-hysteresis-of
- 6LoWPAN has been merged in ns-3-dev and will be included in ns-3.19.
- 802.15.4 will rely on the lr-wpan module (currently being implemented by Boeing).
- A patch to the lr-wpan code to enable its use with 6LoWPAN (and the full IPv6 stack) has been created. The patch adds a number of functionalities to the module and will be either included in lr-wpan or provided as a separate patch.
A wiki page will be created before 3.19 release to explain in detail the current implemented functionalities, the models limitations, the work status and provide a guide to setup a simple simulation.
Boeing is working on lr-wpan (IEEE 802.15.4-2006) support; details here.
LTE
In addition to the LENA project above, several developers expressed their interest in enhancing the LTE code initially developed within the GSoC 2010:
- Leo Razoumov announced possible interest in the following contributions:
- MIMO
- PHY model abstractions
- scheduling models
- mobility and traffic models
- Giuseppe Piro and his group (DEE, Politecnico di Bari) announced the intent to continue with the development of the LTE module, focusing mainly on the following MAC layer aspects:
- RRM
- scheduling
- AMC
- Marco Mezzavilla and his group (DEI, University of Padova) announced interest in working on the following, and have posted a repository in February 2011 details here:
- MAC layer
- mobility
- traffic modelization
- MIMO
- Sandra Frei announced that a group is working on Evolved Packet System (EPS) support
- GTPv1-U (for the user plane)
- GTPv2-C (for the control plane)
- Diameter: Supported use cases: default- and dedicated bearer establishment
- NAS (ESM, EMM) A combined initial attach with a default bearer establishment. Dedicated bearer establishment
- X2AP HO without SGW relocation. Endmarker messages are not supported
- PMIPv6: PBU/PBA, LMA, MAG
Link layer
802.21 media independent handover
- wiki page: NS-3 MIH implementation
- code location: http://code.nsnam.org/salumu/ns-3-mih/
- status: Dormant-- no merge plans announced.
MPLS
- Submitted by: Andrey Churin
- code location: http://code.google.com/p/ns-3-shop/
- reviewer(s): None
- status: Project has moved to Google hosting.
Network layer
API and functionality for marking TOS bytes in packets
- Submitted by: Antti Makela
- code location: http://www.nsnam.org/bugzilla/show_bug.cgi?id=897
- reviewer(s): None
- status: Need to consider whether this fits into the Linux netfilter support that is planned
DSR routing
- Submitted by: Yufei Cheng
- status: Announced here: http://mailman.isi.edu/pipermail/ns-developers/2010-December/008496.html
DSDV routing
- Submitted by: Hemanth Narra
- code location: http://codereview.appspot.com/1668042/show
- status: Announced here: http://mailman.isi.edu/pipermail/ns-developers/2010-December/008496.html
Transport layer
TCP Vegas
- Submitted by: Juan Pablo Poujade
- code location: http://mailman.isi.edu/pipermail/ns-developers/2010-February/007419.html
- reviewers: none officially
- status: Waiting for guidance on how TCP congestion control variants will be implemented in general
Multipath TCP
NS-3 module for MPTCP (Multipath TCP). The current release is compatible with 3.8 version of NS-3. A check of the compatibility with the latest version is needed.
- Submitted by: Bachir CHIHANI
- code location: http://code.google.com/p/mptcp-ns3/
Codel, fq_codel in ns-3
- Submitted by: Andrew Mcgregor
- Code location: http://codereview.appspot.com/6463048
- Mailing list post: http://mailman.isi.edu/pipermail/ns-developers/2012-August/010572.html
- Reviewers: Tom Henderson and Mathieu Lacage
Application layer
Chord/DHash DHT
- Submitted by: Harjot Gill
- code location: http://codereview.appspot.com/180107/show
- reviewers: Mathieu Lacage, Tom Henderson
- background: http://mailman.isi.edu/pipermail/ns-developers/2009-December/007222.html
- status: Dormant for a while
Synchronous posix/sockets API
- summary: An ns-3 "process" environment
- ns-developers post: http://mailman.isi.edu/pipermail/ns-developers/2008-April/003912.html
- code location: http://code.nsnam.org/mathieu/ns-3-simu
- status: still in development
real-world application integration
- summary: port of quagga routing to ns-3
- wiki page: Real World Application Integration
- code location: http://code.nsnam.org/lj/quagga-porting/
- status: Was developed by Liu Jian, Google Summer of Code. Portions of this code are planned for a future release (ns-3.8 or later) when ns-3-simu is merged.
ns-3-simu sockopt patches
- code location: Four patches listed in http://mailman.isi.edu/pipermail/ns-developers/2009-June/006144.html
- reviewer(s): TBD
- status: review requested on June 22
- background: http://mailman.isi.edu/pipermail/ns-developers/2009-June/006144.html
Pastry
- Summary: An implementation of Pastry within ns-3. Including some experimental key-based routing API.
- Developers: Robert Nitsch and Dominic Scheurer (Technische Universität Darmstadt).
- Code location: https://bitbucket.org/r_nitsch/ns-3-pastry/ (old repository: https://bitbucket.org/r_nitsch/libpastry/)
- Doxygen documentation: http://libpastry.robertnitsch.de
- Status:
- 2012-01-22: Re-integrated the code into ns-3 source tree (ns-3.13).
- Mostly finished.
- Node arrival process needs some tweaking.
- Review needed. (We're going to request one as soon as we're ready.)
Visualization
Jeremy Norman and the iNSpect team have posted some plans for a visualization library for ns-3:
- http://mailman.isi.edu/pipermail/ns-developers/2008-March/003777.html
- http://mailman.isi.edu/pipermail/ns-developers/2008-November/004914.html
George Riley has made a prototype animator for PointToPoint links.
Joe Kopena is working on what he calls a "decorator" http://code.nsnam.org/tjkopena/
Hagen Paul Pfeifer is working on a MANET visualizer http://nv.dev.jauu.net/
Graphical simulation builder
Pierre Weiss and Sebastien Vincent have written an ns-3 scenario generator in Qt.
- http://mailman.isi.edu/pipermail/ns-developers/2010-May/007998.html
- Mercurial download: http://svnet.u-strasbg.fr/hg/ns-3-generator/
NetExplorer
| NetExplorer is Gnome/Gtk network animation tool for NS-3.
Miscellaneous
L2 Ethernet switch module
- ns-developers post: http://groups.google.com/group/ns-3-users/browse_thread/thread/0091ac611dde1928#
- status: No code yet, starting development.
Parallel simulations (2008)
- summary: ns-3 extensions for parallelization
- wiki page: Parallel Simulations
- code location: http://code.nsnam.org/pfeifer/ns-3-para/
- status: dormant since 2008 Google Summer of Code
Delay Box for ns-3
Matt Crinklaw is working on a port of ns-2 DelayBox to ns-3.
- summary: http://www.isi.edu/nsnam/ns/doc/node247.html (from ns-2 documentation)
- code location: http://freehg.org/u/mlaw
- status: No status update recently. Dormant.
Simulation Configuration and State Detection
In order to configure simulations across multiple, probably virtualized, machines a large amount of configuration must be performed in order to construct the component systems. The oppportunity for human error to creep in during this process renders it essentially manually unworkable for all but the simplest topologies. Craig Dowell is thinking about how to address this problem.
Build system and project infrastructure
Modular build and package management
This issue is being tracked (requirements and wish list) on this page
State of Doxygen
Need to bring Doxygen into compliance (no errors, no warnings for missing documentation).
Buildbots
- investigate hooking code coverage (lcov) into the report
- investigate how the whole buildbot farm may be made available to a maintainer to test out a non-ns-3-dev repo.
Code contribution guidance
Tom took action item to simplify and clarify the project code contribution guidelines (for people wishing to contribute new code to ns-3).
Samples directory
Consider cleanup and move of samples/ directory to examples/?
Documentation
Considering to refactor documentation to split the existing manual into a model library and a software core reference manual, to add a lighter-weight tutorial, and to add a "cookbook" of howtos for common ns-3 tasks.
Website
Status: INRIA is organizing some updates to the website.